]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/different_defining_uses.stderr
Fix font color for help button in ayu and dark themes
[rust.git] / src / test / ui / type-alias-impl-trait / different_defining_uses.stderr
1 error: concrete type differs from previous defining opaque type use
2   --> $DIR/different_defining_uses.rs:12:1
3    |
4 LL | / fn bar() -> Foo {
5 LL | |     42i32
6 LL | | }
7    | |_^ expected `&'static str`, got `i32`
8    |
9 note: previous use here
10   --> $DIR/different_defining_uses.rs:8:1
11    |
12 LL | / fn foo() -> Foo {
13 LL | |     ""
14 LL | | }
15    | |_^
16
17 error: aborting due to previous error
18