Closed
Description
Previously hit here: #52896 (comment) (thanks, eddyb)
The way I hit this in a change I was trying:
Compiling core v0.0.0 (file:///C:/src/rust/src/libcore)
←[0m←[1m←[38;5;9merror←[0m←[0m←[1m←[38;5;15m: This node does not have a stability attribute←[0m
←[0m ←[0m←[0m←[1m←[38;5;14m--> ←[0m←[0mlibcore\num\f32.rs:604:35←[0m
←[0m ←[0m←[0m←[1m←[38;5;14m|←[0m
←[0m←[1m←[38;5;14m604←[0m←[0m ←[0m←[0m←[1m←[38;5;14m| ←[0m←[0m pub fn total_ordered(self) -> impl Ord {←[0m
←[0m ←[0m←[0m←[1m←[38;5;14m| ←[0m←[0m ←[0m←[0m←[1m←[38;5;9m^^^^^^^^←[0m
Instructions from oli-obk in #52896 (comment) :
Should be enough to add an arm to
rust/src/librustc/middle/stability.rs
Line 356 in a2af866
for
ItemExistential(ExistTy { parent_fn_id: Some(_) })
which also skips thecheck_missing_stability
call
Metadata
Metadata
Assignees
Labels
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Area: `#[stable]`, `#[unstable]` etc.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Relevant to the compiler team, which will review and decide on the PR/issue.