Skip to content

Commit 15d0edc

Browse files
committed
.stderr files
1 parent 2c66e03 commit 15d0edc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/ui/bounds-lifetime.stderr renamed to tests/ui/higher-ranked/higher-ranked-invalid-bounds.stderr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
error: bounds cannot be used in this context
2-
--> $DIR/bounds-lifetime.rs:1:22
2+
--> $DIR/higher-ranked-invalid-bounds.rs:3:22
33
|
44
LL | type A = for<'b, 'a: 'b> fn();
55
| ^^
66

77
error: bounds cannot be used in this context
8-
--> $DIR/bounds-lifetime.rs:2:22
8+
--> $DIR/higher-ranked-invalid-bounds.rs:4:22
99
|
1010
LL | type B = for<'b, 'a: 'b,> fn();
1111
| ^^
1212

1313
error: bounds cannot be used in this context
14-
--> $DIR/bounds-lifetime.rs:3:22
14+
--> $DIR/higher-ranked-invalid-bounds.rs:5:22
1515
|
1616
LL | type C = for<'b, 'a: 'b +> fn();
1717
| ^^
1818

1919
error[E0658]: only lifetime parameters can be used in this context
20-
--> $DIR/bounds-lifetime.rs:4:18
20+
--> $DIR/higher-ranked-invalid-bounds.rs:6:18
2121
|
2222
LL | type D = for<'a, T> fn();
2323
| ^
@@ -27,7 +27,7 @@ LL | type D = for<'a, T> fn();
2727
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2828

2929
error[E0658]: only lifetime parameters can be used in this context
30-
--> $DIR/bounds-lifetime.rs:5:18
30+
--> $DIR/higher-ranked-invalid-bounds.rs:7:18
3131
|
3232
LL | type E = dyn for<T, U> Fn();
3333
| ^ ^

tests/ui/bogus-tag.stderr renamed to tests/ui/pattern/pattern-match-invalid-variant.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
error[E0599]: no variant or associated item named `Hsl` found for enum `Color` in the current scope
2-
--> $DIR/bogus-tag.rs:7:16
2+
--> $DIR/pattern-match-invalid-variant.rs:14:16
33
|
4-
LL | enum Color { Rgb(isize, isize, isize), Rgba(isize, isize, isize, isize), }
4+
LL | enum Color {
55
| ---------- variant or associated item `Hsl` not found for this enum
66
...
7-
LL | Color::Hsl(h, s, l) => { println!("hsl"); }
7+
LL | Color::Hsl(h, s, l) => {
88
| ^^^ variant or associated item not found in `Color`
99

1010
error: aborting due to 1 previous error

0 commit comments

Comments
 (0)