File tree 2 files changed +2
-2
lines changed
compiler/rustc_const_eval
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -386,8 +386,8 @@ const_eval_unsigned_offset_from_overflow =
386
386
`ptr_offset_from_unsigned` called when first pointer has smaller offset than second: { $a_offset } < { $b_offset }
387
387
const_eval_unsized_local = unsized locals are not supported
388
388
389
- const_eval_unstable_declared_here = `{ $def_path } ` declaired here
390
389
const_eval_unstable_const_fn = `{ $def_path } ` is not yet stable as a const fn
390
+ const_eval_unstable_declared_here = `{ $def_path } ` declared unstable here
391
391
392
392
const_eval_unstable_in_stable =
393
393
const-stable function cannot use `#[feature({ $gate } )]`
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ pub(crate) struct UnstableConstFn {
130
130
pub span : Span ,
131
131
pub def_path : String ,
132
132
133
- #[ label( const_eval_declared_here ) ]
133
+ #[ label( const_eval_unstable_declared_here ) ]
134
134
pub declared : Span ,
135
135
}
136
136
You can’t perform that action at this time.
0 commit comments