Skip to content

Commit e59873b

Browse files
authored
Rollup merge of #146455 - cuviper:no-rustc-version, r=jieyouxu
test: remove an outdated normalization for rustc versions These "you are using $RUSTC_VERSION" help messages were removed in #142943, but #142681 started before that and merged later, so its normalization is vestigial.
2 parents bfc33ef + 1793eec commit e59873b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/ui/feature-gates/feature-gate-sanitize.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ normalize-stderr: "you are using [0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?( \([^)]*\))?" -> "you are using $$RUSTC_VERSION"
21
#![feature(no_sanitize)] //~ ERROR feature has been removed
32

43
#[sanitize(address = "on")]

tests/ui/feature-gates/feature-gate-sanitize.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0557]: feature has been removed
2-
--> $DIR/feature-gate-sanitize.rs:2:12
2+
--> $DIR/feature-gate-sanitize.rs:1:12
33
|
44
LL | #![feature(no_sanitize)]
55
| ^^^^^^^^^^^ feature has been removed
@@ -8,7 +8,7 @@ LL | #![feature(no_sanitize)]
88
= note: renamed to sanitize(xyz = "on|off")
99

1010
error[E0658]: the `#[sanitize]` attribute is an experimental feature
11-
--> $DIR/feature-gate-sanitize.rs:4:1
11+
--> $DIR/feature-gate-sanitize.rs:3:1
1212
|
1313
LL | #[sanitize(address = "on")]
1414
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)