Skip to content

Missing tracking issue and label for multiple_supertrait_upcastable #150773

Description

@hashcatHitman

Location (URL)

https://github.com/rust-lang/rust/issues
https://github.com/rust-lang/rfcs

Summary

The multiple_supertrait_upcastable feature gate is used to gate the allowed-by-default lint of the same name. Both were added in #105484. The lint is used within the compiler, but I've also seen it used in the wild. The wording of the lint explanation:

To support upcasting with multiple supertraits, we need to store multiple vtables and
this can result in extra space overhead, even if no code actually uses upcasting. This
lint allows users to identify when such scenarios occur and to decide whether the
additional overhead is justified.

...seems to suggest via the word "users" that this lint was intended to eventually be used by developers outside the compiler at their discretion.

I cannot find any tracking issue, RFC, or issue tracker label dedicated to either the lint or feature.

I am unsure if this is a mistake, the lint is intentionally permanently unstable, or if something else is the case. I tried asking about this on the Zulip (#t-compiler/diagnostics > Missing tracking issue for `multiple_supertrait_upcastable`?) but haven't received any responses.

I'm still not very familiar with Zulip, so I don't know if it is expected that no one would say anything this soon, but I wanted to make an issue about this before I forgot about it, just in case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions