]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/different_defining_uses.min_tait.stderr
Loop over all opaque types instead of looking at just the first one with the same...
[rust.git] / src / test / ui / type-alias-impl-trait / different_defining_uses.min_tait.stderr
1 error: concrete type differs from previous defining opaque type use
2   --> $DIR/different_defining_uses.rs:15:1
3    |
4 LL | fn bar() -> Foo {
5    | ^^^^^^^^^^^^^^^ expected `&'static str`, got `i32`
6    |
7 note: previous use here
8   --> $DIR/different_defining_uses.rs:11:1
9    |
10 LL | fn foo() -> Foo {
11    | ^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14