summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issue-99073-2.stderr
blob: 913bc8f5674acf1915d349a13f9b4b1f9585be6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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