We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd8fe82 commit 157cbbcCopy full SHA for 157cbbc
compiler/rustc_lint/src/builtin.rs
@@ -2595,6 +2595,7 @@ impl<'tcx> LateLintPass<'tcx> for InvalidValue {
2595
if let Some((msg, span)) =
2596
with_no_trimmed_paths!(ty_find_init_error(cx, conjured_ty, init))
2597
{
2598
+ // FIXME(davidtwco): make translatable
2599
cx.struct_span_lint(INVALID_VALUE, expr.span, |lint| {
2600
let mut err = lint.build(&format!(
2601
"the type `{}` does not permit {}",
0 commit comments