rust/tests/ui/lazy-type-alias-impl-trait/recursion3.stderr

20 lines
563 B
Plaintext

error[E0369]: cannot add `{integer}` to `Foo`
--> $DIR/recursion3.rs:9:29
|
LL | let x: u32 = foo(false) + 42;
| ---------- ^ -- {integer}
| |
| Foo
error[E0369]: cannot add `{integer}` to `impl Debug`
--> $DIR/recursion3.rs:17:29
|
LL | let x: u32 = bar(false) + 42;
| ---------- ^ -- {integer}
| |
| impl Debug
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0369`.