mirror of https://github.com/rust-lang/rust
16 lines
408 B
Plaintext
16 lines
408 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/opaque_types2.rs:13:11
|
|
|
|
|
LL | type Foo = impl Sized;
|
|
| ---------- the found opaque type
|
|
...
|
|
LL | foo::<C>();
|
|
| ^ expected `u32`, found opaque type
|
|
|
|
|
= note: expected type `u32`
|
|
found opaque type `Foo`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|