rust/tests/ui/impl-trait/issue-99073-2.stderr
2023-01-11 09:32:08 +00:00

15 lines
358 B
Plaintext

error: concrete type differs from previous defining opaque type use
--> $DIR/issue-99073-2.rs:9:22
|
LL | let i: u32 = test::<i32>(-1, false);
| ^^^^^^^^^^^^^^^^^^^^^^ expected `T`, got `u32`
|
note: previous use here
--> $DIR/issue-99073-2.rs:16:5
|
LL | t
| ^
error: aborting due to previous error