mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Fix for new error message
This commit is contained in:
@@ -67,7 +67,7 @@ trait Baz {}
|
||||
|
||||
#[inline(always)]
|
||||
//~^ ERROR: cannot use `#[inline(always)]`
|
||||
//~| NOTE: See issue here for full discussion; https://github.com/rust-lang/rust/issues/145574
|
||||
//~| NOTE: See this issue for full discussion: https://github.com/rust-lang/rust/issues/145574
|
||||
#[target_feature(enable = "sse2")]
|
||||
unsafe fn test() {}
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ error: cannot use `#[inline(always)]` with `#[target_feature]`
|
||||
LL | #[inline(always)]
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: See issue here for full discussion; https://github.com/rust-lang/rust/issues/145574
|
||||
= note: See this issue for full discussion: https://github.com/rust-lang/rust/issues/145574
|
||||
|
||||
error: the feature named `foo` is not valid for this target
|
||||
--> $DIR/invalid-attribute.rs:26:18
|
||||
|
||||
Reference in New Issue
Block a user