Skip to content

Commit

Permalink
Rename the test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink committed Oct 5, 2019
1 parent 33d23cd commit 47f89e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0520]: `Ty` specializes an item from a parent `impl`, but that item is not marked `default`
--> $DIR/specialization-default-methods-fail.rs:29:5
--> $DIR/non-defaulted-item-fail.rs:29:5
|
LL | / impl<T> Foo for Box<T> {
LL | | type Ty = bool;
Expand All @@ -14,7 +14,7 @@ LL | type Ty = Vec<()>;
= note: to specialize, `Ty` in the parent `impl` must be marked `default`

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

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

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

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

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

0 comments on commit 47f89e7

Please sign in to comment.