Skip to content

Commit 489f286

Browse files
committed
Whatever
1 parent 46b88a2 commit 489f286

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_const_eval/messages.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ const_eval_unsigned_offset_from_overflow =
386386
`ptr_offset_from_unsigned` called when first pointer has smaller offset than second: {$a_offset} < {$b_offset}
387387
const_eval_unsized_local = unsized locals are not supported
388388
389-
const_eval_unstable_declared_here = `{$def_path}` declaired here
390389
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
391391
392392
const_eval_unstable_in_stable =
393393
const-stable function cannot use `#[feature({$gate})]`

compiler/rustc_const_eval/src/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pub(crate) struct UnstableConstFn {
130130
pub span: Span,
131131
pub def_path: String,
132132

133-
#[label(const_eval_declared_here)]
133+
#[label(const_eval_unstable_declared_here)]
134134
pub declared: Span,
135135
}
136136

0 commit comments

Comments
 (0)