Skip to content

Commit

Permalink
Rebase fallout.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Jan 5, 2024
1 parent 6dfdeab commit eeaea57
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/ui/type-alias-impl-trait/nested-in-anon-const.stderr
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
error: unconstrained opaque type
--> $DIR/nested-in-anon-const.rs:13:33
|
LL | type B<Z> = impl Sized;
| ^^^^^^^^^^
|
= note: `B` must be used in combination with a concrete type within the same item

error[E0308]: mismatched types
--> $DIR/nested-in-anon-const.rs:12:17
|
Expand All @@ -7,14 +15,6 @@ LL | |
LL | | },
| |_________________^ expected `usize`, found `()`

error: unconstrained opaque type
--> $DIR/nested-in-anon-const.rs:13:33
|
LL | type B<Z> = impl Sized;
| ^^^^^^^^^^
|
= note: `B` must be used in combination with a concrete type within the same item

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.

0 comments on commit eeaea57

Please sign in to comment.