Skip to content

Commit 88f3075

Browse files
Rename the test
1 parent 753ae0a commit 88f3075

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/ui/specialization/specialization-default-methods-fail.stderr src/test/ui/specialization/non-defaulted-item-fail.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0520]: `Ty` specializes an item from a parent `impl`, but that item is not marked `default`
2-
--> $DIR/specialization-default-methods-fail.rs:29:5
2+
--> $DIR/non-defaulted-item-fail.rs:29:5
33
|
44
LL | / impl<T> Foo for Box<T> {
55
LL | | type Ty = bool;
@@ -14,7 +14,7 @@ LL | type Ty = Vec<()>;
1414
= note: to specialize, `Ty` in the parent `impl` must be marked `default`
1515

1616
error[E0520]: `CONST` specializes an item from a parent `impl`, but that item is not marked `default`
17-
--> $DIR/specialization-default-methods-fail.rs:31:5
17+
--> $DIR/non-defaulted-item-fail.rs:31:5
1818
|
1919
LL | / impl<T> Foo for Box<T> {
2020
LL | | type Ty = bool;
@@ -29,7 +29,7 @@ LL | const CONST: u8 = 42;
2929
= note: to specialize, `CONST` in the parent `impl` must be marked `default`
3030

3131
error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
32-
--> $DIR/specialization-default-methods-fail.rs:33:5
32+
--> $DIR/non-defaulted-item-fail.rs:33:5
3333
|
3434
LL | / impl<T> Foo for Box<T> {
3535
LL | | type Ty = bool;
@@ -44,7 +44,7 @@ LL | fn foo(&self) -> bool { true }
4444
= note: to specialize, `foo` in the parent `impl` must be marked `default`
4545

4646
error[E0520]: `Ty` specializes an item from a parent `impl`, but that item is not marked `default`
47-
--> $DIR/specialization-default-methods-fail.rs:45:5
47+
--> $DIR/non-defaulted-item-fail.rs:45:5
4848
|
4949
LL | impl<T> Foo for Vec<T> {}
5050
| ------------------------- parent `impl` is here
@@ -55,7 +55,7 @@ LL | type Ty = Vec<()>;
5555
= note: to specialize, `Ty` in the parent `impl` must be marked `default`
5656

5757
error[E0520]: `CONST` specializes an item from a parent `impl`, but that item is not marked `default`
58-
--> $DIR/specialization-default-methods-fail.rs:47:5
58+
--> $DIR/non-defaulted-item-fail.rs:47:5
5959
|
6060
LL | impl<T> Foo for Vec<T> {}
6161
| ------------------------- parent `impl` is here
@@ -66,7 +66,7 @@ LL | const CONST: u8 = 42;
6666
= note: to specialize, `CONST` in the parent `impl` must be marked `default`
6767

6868
error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
69-
--> $DIR/specialization-default-methods-fail.rs:49:5
69+
--> $DIR/non-defaulted-item-fail.rs:49:5
7070
|
7171
LL | impl<T> Foo for Vec<T> {}
7272
| ------------------------- parent `impl` is here

0 commit comments

Comments
 (0)