diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-04-18 14:50:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-18 14:50:51 +0200 |
| commit | aa87addfb36e733769ade921d847c9e1eee555f7 (patch) | |
| tree | 8e03e108e3622fd428076cfb9449914186d99259 /compiler/rustc_errors/src | |
| parent | 5fe3528be5ef12be3d12c7a9ee1b0bff9e3b35e4 (diff) | |
| parent | e09d0d2a29e81972563a52dc28f867499ffc9315 (diff) | |
| download | rust-aa87addfb36e733769ade921d847c9e1eee555f7.tar.gz rust-aa87addfb36e733769ade921d847c9e1eee555f7.zip | |
Rollup merge of #110417 - jsoref:spelling-compiler, r=Nilstrieb
Spelling compiler This is per https://github.com/rust-lang/rust/pull/110392#issuecomment-1510193656 I'm going to delay performing a squash because I really don't expect people to be perfectly happy w/ my changes, I really am a human and I really do make mistakes. r? Nilstrieb I'm going to be flying this evening, but I should be able to squash / respond to reviews w/in a day or two. I tried to be careful about dropping changes to `tests`, afaict only two files had changes that were likely related to the changes for a given commit (this is where not having eagerly squashed should have given me an advantage), but, that said, picking things apart can be error prone.
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/emitter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/emitter.rs b/compiler/rustc_errors/src/emitter.rs index fe44799efdb..8c76d5e010f 100644 --- a/compiler/rustc_errors/src/emitter.rs +++ b/compiler/rustc_errors/src/emitter.rs @@ -1980,7 +1980,7 @@ impl EmitterWriter { } if let DisplaySuggestion::Add = show_code_change && is_item_attribute { // The suggestion adds an entire line of code, ending on a newline, so we'll also - // print the *following* line, to provide context of what we're advicing people to + // print the *following* line, to provide context of what we're advising people to // do. Otherwise you would only see contextless code that can be confused for // already existing code, despite the colors and UI elements. // We special case `#[derive(_)]\n` and other attribute suggestions, because those |
