normalize use of backticks in compiler messages for librustc_lint

This commit is contained in:
Samy Kacimi 2019-07-19 00:05:23 +02:00
parent 1301422a6c
commit 0385d64d19
No known key found for this signature in database
GPG key ID: E2294E922F4C56E5
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;