You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FIXME(oli-obk): figure out how to use structured diagnostics again.
505
-
diag.code(E0080);
506
497
diag.span_label(span,"it is undefined behavior to use this value");
507
498
diag.note("the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.");
508
-
for frame in frames {
509
-
diag.subdiagnostic(frame);
510
-
}
499
+
assert!(frames.is_empty());// we just report validation errors for the final const here
0 commit comments