You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error: unused attribute const_fn_union with incr-comp #65023
Every time I try to recompile the compiler using incremental compilation with ./x.py build -i --stage 1 --keep-stage 1 src/libstd I get the following error ...
error: unused attribute
--> src/libcore/slice/mod.rs:66:5
|
66 | #[allow_internal_unstable(const_fn_union)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-attributes` implied by `-D warnings`
error: unused attribute
--> src/libcore/str/mod.rs:2170:5
|
2170 | #[allow_internal_unstable(const_fn_union)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
error: could not compile `core`.
Activity
Centril commentedon Oct 3, 2019
@oli-obk, J'Accuse…! :)
spastorino commentedon Oct 3, 2019
The following change could be used as a workaround ...
Rollup merge of rust-lang#65106 - Mark-Simulacrum:unused-attr-allow, …
Rollup merge of rust-lang#65106 - Mark-Simulacrum:unused-attr-allow, …
Rollup merge of rust-lang#65106 - Mark-Simulacrum:unused-attr-allow, …
Rollup merge of rust-lang#67884 - anp:allow-unused-const-attr, r=oli-obk
pnkfelix commentedon Mar 25, 2020
cc #58633
Whitelist #[allow_internal_unstable]
Rollup merge of rust-lang#72713 - rust-lang:jonas-schievink-patch-2, …
pnkfelix commentedon Oct 6, 2020
closing as "worked-around", (we think this really only affects people working on rustc development itself).
((there are some notes about fixme's mentioned in linked prs but I'm not going to try to address those right now.))