Skip to content

Commit 8bcf35d

Browse files
committed
Fix stability-attribute-sanity
1 parent 57cdd33 commit 8bcf35d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/stability-attribute/stability-attribute-sanity.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn multiple3() { }
6363
#[rustc_const_unstable(feature = "c", issue = "none")]
6464
#[rustc_const_unstable(feature = "d", issue = "none")] //~ ERROR multiple stability levels
6565
pub const fn multiple4() { } //~ ERROR multiple rustc_deprecated attributes [E0540]
66-
//~^ ERROR Invalid stability or deprecation version found
66+
//~^ ERROR item has an invalid stability or deprecation version
6767

6868
#[rustc_deprecated(since = "a", reason = "text")]
6969
fn deprecated_without_unstable_or_stable() { }

src/test/ui/stability-attribute/stability-attribute-sanity.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ error[E0544]: multiple stability levels
9494
LL | #[rustc_const_unstable(feature = "d", issue = "none")]
9595
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9696

97-
error: Invalid stability or deprecation version found
97+
error: item has an invalid stability or deprecation version
9898
--> $DIR/stability-attribute-sanity.rs:65:1
9999
|
100100
LL | pub const fn multiple4() { }

0 commit comments

Comments
 (0)