1
Fork 0

normalize use of backticks in compiler messages for librustc_typecheck

https://github.com/rust-lang/rust/issues/60532
This commit is contained in:
Samy Kacimi 2019-07-07 11:37:34 +02:00
parent dd2e8040a3
commit 60a49384f5
No known key found for this signature in database
GPG key ID: E2294E922F4C56E5
13 changed files with 26 additions and 26 deletions

View file

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