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
Auto merge of #154503 - RalfJung:rollup-DkU2JXL, r=RalfJung
Rollup of 11 pull requests
Successful merges:
- #152880 (Tweak incorrect assoc item note)
- #153526 (Fix LegacyKeyValueFormat report from docker build: i686)
- #153613 (interpreter error reporting: remove arguments that are always the same)
- #154029 (Replace `truncate(0)` with `clear()`)
- #154125 (Inline and remove `DepGraphData::try_mark_parent_green`.)
- #154185 (Prevent no_threads RwLock's write() impl from setting mode to -1 when it is locked for reading)
- #154394 (Normalize rustc path prefix when testing `-Z track-diagnostics`)
- #154450 (Use the normal arg-parsing machinery for `-Zassert-incr-state`)
- #154475 (Emit a pre-expansion feature gate warning for `box`'ed struct field patterns)
- #154500 (EnumSizeOpt: use Allocation::write_scalar instead of manual endianess logic)
- #154502 (interpret: ensure that untupled arguments are actually tuples)
// FIXME(oli-obk): figure out how to use structured diagnostics again.
516
-
diag.code(E0080);
517
-
diag.span_label(span,"it is undefined behavior to use this value");
518
-
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.");
diag.span_label(span,"it is undefined behavior to use this value");
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.");
499
+
assert!(frames.is_empty());// we just report validation errors for the final const here
0 commit comments