Rollup merge of #62810 - fakenine:normalize_use_of_backticks_compiler_messages_p10, r=Centril
normalize use of backticks in compiler messages for librustc_lint https://github.com/rust-lang/rust/issues/60532
This commit is contained in:
commit
17ddfbe49c
15 changed files with 65 additions and 65 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// run-rustfix
|
||||
|
||||
#[no_mangle] pub static RAH: usize = 5;
|
||||
//~^ ERROR const items should never be #[no_mangle]
|
||||
//~^ ERROR const items should never be `#[no_mangle]`
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// run-rustfix
|
||||
|
||||
#[no_mangle] pub const RAH: usize = 5;
|
||||
//~^ ERROR const items should never be #[no_mangle]
|
||||
//~^ ERROR const items should never be `#[no_mangle]`
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
error: const items should never be #[no_mangle]
|
||||
error: const items should never be `#[no_mangle]`
|
||||
--> $DIR/issue-45562.rs:3:14
|
||||
|
|
||||
LL | #[no_mangle] pub const RAH: usize = 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue