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:
Mazdak Farrokhzad 2019-07-22 15:32:18 +02:00 committed by GitHub
commit 17ddfbe49c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 65 additions and 65 deletions

View file

@ -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() {}

View file

@ -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() {}

View file

@ -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;