diff --git a/tests/ui/target-feature/invalid-attribute.rs b/tests/ui/target-feature/invalid-attribute.rs index ee1e54ac239c..968fbdc1dc7f 100644 --- a/tests/ui/target-feature/invalid-attribute.rs +++ b/tests/ui/target-feature/invalid-attribute.rs @@ -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() {} diff --git a/tests/ui/target-feature/invalid-attribute.stderr b/tests/ui/target-feature/invalid-attribute.stderr index a4248f5ced9e..cb19bdc60ceb 100644 --- a/tests/ui/target-feature/invalid-attribute.stderr +++ b/tests/ui/target-feature/invalid-attribute.stderr @@ -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