]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_span/src/span_encoding.rs
Switch bootstrap cfgs
[rust.git] / compiler / rustc_span / src / span_encoding.rs
index 61e4074a7c80bf1cf9d846df96bccb2a9f91000c..cd382d6c956cad8d51e90c748c8a4933c22910e0 100644 (file)
 /// using the callback `SPAN_TRACK` to access the query engine.
 ///
 #[derive(Clone, Copy, Eq, PartialEq, Hash)]
-// FIXME(@lcnr): Enable this attribute once the bootstrap
-// compiler knows of `rustc_pass_by_value`.
-//
-// Right now, this lint would only trigger when compiling the
-// stage 2 compiler, which is fairly annoying as there are
-// a lot of places using `&Span` right now. After the next bootstrap bump,
-// the lint will already trigger when using stage 1, which is a lot less annoying.
-//
-// #[cfg_attr(not(bootstrap), rustc_pass_by_value)]
+// FIXME: Enable this in the bootstrap bump, but separate commit.
+// #[rustc_pass_by_value]
 pub struct Span {
     base_or_index: u32,
     len_or_tag: u16,