rust/tests/ui-fulldeps/internal-lints
Nicholas Nethercote e7724a2e31 Add `level` arg to `into_diagnostic`.
And make all hand-written `IntoDiagnostic` impls generic, by using
`DiagnosticBuilder::new(dcx, level, ...)` instead of e.g.
`dcx.struct_err(...)`.

This means the `create_*` functions are the source of the error level.
This change will let us remove `struct_diagnostic`.

Note: `#[rustc_lint_diagnostics]` is added to `DiagnosticBuilder::new`,
it's necessary to pass diagnostics tests now that it's used in
`into_diagnostic` functions.
2023-12-19 09:19:25 +11:00
..
bad_opt_access.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad_opt_access.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default_hash_types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default_hash_types.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diagnostics.ftl errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
diagnostics.rs Add `level` arg to `into_diagnostic`. 2023-12-19 09:19:25 +11:00
diagnostics.stderr Add `level` arg to `into_diagnostic`. 2023-12-19 09:19:25 +11:00
lint_pass_impl_without_macro.rs Remove `rustc_lint_defs::lint_array` 2023-09-28 23:01:25 +02:00
lint_pass_impl_without_macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualified_ty_ty_ctxt.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualified_ty_ty_ctxt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
query_stability.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
query_stability.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc_pass_by_value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc_pass_by_value.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
span_use_eq_ctxt.rs Bless ui-fulldeps 2023-11-24 21:56:22 +01:00
span_use_eq_ctxt.stderr Bless ui-fulldeps 2023-11-24 21:56:22 +01:00
ty_tykind_usage.rs s/Generator/Coroutine/ 2023-10-20 21:10:38 +00:00
ty_tykind_usage.stderr bless ui-fulldeps 2023-10-20 21:14:02 +00:00