Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 157cbbc

Browse files
committed
lint: add todo for invalid value diagnostics
Signed-off-by: David Wood <[email protected]>
1 parent bd8fe82 commit 157cbbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_lint/src/builtin.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,6 +2595,7 @@ impl<'tcx> LateLintPass<'tcx> for InvalidValue {
25952595
if let Some((msg, span)) =
25962596
with_no_trimmed_paths!(ty_find_init_error(cx, conjured_ty, init))
25972597
{
2598+
// FIXME(davidtwco): make translatable
25982599
cx.struct_span_lint(INVALID_VALUE, expr.span, |lint| {
25992600
let mut err = lint.build(&format!(
26002601
"the type `{}` does not permit {}",

0 commit comments

Comments
 (0)