rust/src/librustc_feature
Felix S. Klock II 88747ffe63 Add #[repr(no_niche)].
This repr-hint makes a struct/enum hide any niche within from its
surrounding type-construction context.

It is meant (at least initially) as an implementation detail for
resolving issue 68303. We will not stabilize the repr-hint unless
someone finds motivation for doing so.

(So, declaration of `no_niche` feature lives in section of file
where other internal implementation details are grouped, and
deliberately leaves out the tracking issue number.)

incorporated review feedback, and fixed post-rebase.
2020-02-10 14:44:12 -05:00
..
accepted.rs stabilize transparent_enums 2020-01-20 11:18:05 +01:00
active.rs Add #[repr(no_niche)]. 2020-02-10 14:44:12 -05:00
builtin_attrs.rs Selectively disable sanitizer instrumentation 2020-02-05 23:30:38 +01:00
Cargo.toml Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
lib.rs Fix crate paths in comments 2020-01-13 01:07:43 +09:00
removed.rs Remove the overlapping_marker_traits feature 2020-02-04 13:20:47 -05:00