rust/tests
Nicholas Nethercote 59e0bc2de7 Split Level::DelayedBug in two.
The two kinds of delayed bug have quite different semantics so a
stronger conceptual separation is nice. (`is_error` is a good example,
because the two kinds have different behaviour.)

The commit also moves the `DelayedBug` variant after `Error` in `Level`,
to reflect the fact that it's weaker than `Error` -- it might trigger an
error but also might not. (The pre-existing `downgrade_to_delayed_bug`
function also reflects the notion that delayed bugs are lower/after
normal errors.)

Plus it condenses some of the comments on `Level` into a table, for
easier reading, and introduces `can_be_top_or_sub` to indicate which
levels can be used in top-level diagnostics vs. subdiagnostics.

Finally, it renames `DiagCtxtInner::span_delayed_bugs` as
`DiagCtxtInner::delayed_bugs`. The `span_` prefix is unnecessary because
some delayed bugs don't have a span.
2024-02-05 10:03:01 +11:00
..
assembly Revert "Add the wasm32-wasi-preview2 target" 2024-01-28 02:02:50 +01:00
auxiliary
codegen Revert unsound libcore changes of #119911 2024-02-01 22:53:25 +00:00
codegen-units
coverage coverage: Use normal edition: headers in coverage tests 2024-02-02 11:17:05 +11:00
coverage-run-rustdoc
debuginfo Update tests. 2024-01-27 16:38:57 +01:00
incremental hir: Simplify hir_owner_nodes query 2024-01-30 15:00:52 +03:00
mir-opt Rollup merge of #120424 - RalfJung:raw-ptr-meta, r=Nilstrieb 2024-01-30 11:19:16 +01:00
pretty Auto merge of #120227 - nnethercote:further-improve-space_between, r=petrochenkov 2024-01-31 02:01:43 +00:00
run-make Auto merge of #120062 - davidtwco:llvm-data-layout-check, r=wesleywiser 2024-01-27 12:19:41 +00:00
run-make-fulldeps
run-pass-valgrind
rustdoc Rollup merge of #120501 - GuillaumeGomez:glob-reexport-attr-merge-bugfix, r=notriddle 2024-01-31 12:10:53 +01:00
rustdoc-gui Rollup merge of #119746 - notriddle:notriddle/resize-close-modals, r=fmease 2024-01-22 07:56:42 +01:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Don't hash lints differently to non-lints. 2024-01-31 08:25:29 +11:00
ui Split Level::DelayedBug in two. 2024-02-05 10:03:01 +11:00
ui-fulldeps A small fix in enforce_slug_naming.rs. 2024-02-01 19:18:45 +11:00
COMPILER_TESTS.md