diff options
| author | bors <bors@rust-lang.org> | 2024-04-23 05:44:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-23 05:44:06 +0000 |
| commit | 9120dc24fb1cd06d60dac5d9322171177897b7e0 (patch) | |
| tree | b32569375504b195ce038e858e98718dcb10814a /compiler/rustc_errors/src | |
| parent | 2ca55244a94e85f2b93d4b4351a115bce290da79 (diff) | |
| parent | cc1bf5e471ca1acdb33032849336b5af24fc46c9 (diff) | |
| download | rust-9120dc24fb1cd06d60dac5d9322171177897b7e0.tar.gz rust-9120dc24fb1cd06d60dac5d9322171177897b7e0.zip | |
Auto merge of #3500 - rust-lang:rustup-2024-04-23, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs index 5d345e788e9..a17e0da47a5 100644 --- a/compiler/rustc_errors/src/diagnostic.rs +++ b/compiler/rustc_errors/src/diagnostic.rs @@ -730,7 +730,7 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> { } } #[rustc_lint_diagnostics] - fn highlighted_note(&mut self, msg: Vec<StringPart>) -> &mut Self { + pub fn highlighted_note(&mut self, msg: Vec<StringPart>) -> &mut Self { self.sub_with_highlights(Level::Note, msg, MultiSpan::new()); self } diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 8d6b22a9fa9..e3363e89594 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -15,7 +15,6 @@ #![feature(box_patterns)] #![feature(error_reporter)] #![feature(extract_if)] -#![feature(generic_nonzero)] #![feature(let_chains)] #![feature(negative_impls)] #![feature(never_type)] |
