normalize use of backticks for compiler messages in librustc_codegen

https://github.com/rust-lang/rust/issues/60532
This commit is contained in:
Samy Kacimi 2019-07-07 23:14:41 +02:00
parent 6e310f2aba
commit 8aa9f18eb5
No known key found for this signature in database
GPG key ID: E2294E922F4C56E5
8 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
// compile-flags: --crate-name foo
#![crate_name = "bar"]
//~^ ERROR: --crate-name and #[crate_name] are required to match, but `foo` != `bar`
//~^ ERROR: `--crate-name` and `#[crate_name]` are required to match, but `foo` != `bar`
fn main() {}

View file

@ -1,4 +1,4 @@
error: --crate-name and #[crate_name] are required to match, but `foo` != `bar`
error: `--crate-name` and `#[crate_name]` are required to match, but `foo` != `bar`
--> $DIR/crate-name-mismatch.rs:3:1
|
LL | #![crate_name = "bar"]

View file

@ -4,7 +4,7 @@ error: entry symbol `main` defined multiple times
LL | fn main(){}
| ^^^^^^^^^^^
|
= help: did you use #[no_mangle] on `fn main`? Use #[start] instead
= help: did you use `#[no_mangle]` on `fn main`? Use `#[start]` instead
error: aborting due to previous error