rust/compiler/rustc_codegen_ssa/src
bors c74925438c Auto merge of #95149 - cjgillot:once-diag, r=estebank
Remove `Session::one_time_diagnostic`

This is untracked mutable state, which modified the behaviour of queries.
It was used for 2 things: some full-blown errors, but mostly for lint declaration notes ("the lint level is defined here" notes).

It is replaced by the diagnostic deduplication infra which already exists in the diagnostic emitter.
A new diagnostic level `OnceNote` is introduced specifically for lint notes, to deduplicate subdiagnostics.

As a drive-by, diagnostic emission takes a `&mut` to allow dropping the `SubDiagnostic`s.
2022-03-26 00:54:54 +00:00
..
back Take &mut Diagnostic in emit_diagnostic. 2022-03-20 20:36:08 +01:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo Auto merge of #95056 - Dylan-DPC:rollup-swtuw2n, r=Dylan-DPC 2022-03-18 00:35:19 +00:00
mir rustc_error: make ErrorReported impossible to construct 2022-03-16 10:35:24 -05:00
traits debuginfo: Refactor debuginfo generation for types -- Rename DebugInfoMethods::create_vtable_metadata() to DebugInfoMethods::create_vtable_debuginfo() 2022-03-14 17:25:24 +01:00
base.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
common.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
glue.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
lib.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
meth.rs debuginfo: Refactor debuginfo generation for types -- Rename DebugInfoMethods::create_vtable_metadata() to DebugInfoMethods::create_vtable_debuginfo() 2022-03-14 17:25:24 +01:00
mono_item.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
target_features.rs Rollup merge of #91608 - workingjubilee:fold-neon-fp, r=nagisa,Amanieu 2022-03-23 03:05:28 +01:00