normalize use of backticks in compiler messages for librustc_typecheck
https://github.com/rust-lang/rust/issues/60532
This commit is contained in:
parent
dd2e8040a3
commit
60a49384f5
13 changed files with 26 additions and 26 deletions
|
@ -25,7 +25,7 @@
|
|||
unsafe fn foo() {}
|
||||
|
||||
#[target_feature(enable = "sse2")]
|
||||
//~^ ERROR #[target_feature(..)] can only be applied to `unsafe` functions
|
||||
//~^ ERROR `#[target_feature(..)]` can only be applied to `unsafe` functions
|
||||
//~| NOTE can only be applied to `unsafe` functions
|
||||
fn bar() {}
|
||||
//~^ NOTE not an `unsafe` function
|
||||
|
@ -36,7 +36,7 @@ mod another {}
|
|||
//~^ NOTE not a function
|
||||
|
||||
#[inline(always)]
|
||||
//~^ ERROR: cannot use #[inline(always)]
|
||||
//~^ ERROR: cannot use `#[inline(always)]`
|
||||
#[target_feature(enable = "sse2")]
|
||||
unsafe fn test() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue