normalize use of backticks for compiler messages in librustc_codegen
https://github.com/rust-lang/rust/issues/60532
This commit is contained in:
parent
6e310f2aba
commit
8aa9f18eb5
8 changed files with 11 additions and 11 deletions
|
|
@ -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() {}
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue