]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lazy-type-alias-impl-trait/recursion3.stderr
Rollup merge of #100479 - compiler-errors:argument-type-error-improvements, r=lcnr
[rust.git] / src / test / ui / lazy-type-alias-impl-trait / recursion3.stderr
1 error[E0369]: cannot add `{integer}` to `Foo`
2   --> $DIR/recursion3.rs:9:29
3    |
4 LL |     let x: u32 = foo(false) + 42;
5    |                  ---------- ^ -- {integer}
6    |                  |
7    |                  Foo
8
9 error[E0369]: cannot add `{integer}` to `impl Debug`
10   --> $DIR/recursion3.rs:17:29
11    |
12 LL |     let x: u32 = bar(false) + 42;
13    |                  ---------- ^ -- {integer}
14    |                  |
15    |                  impl Debug
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0369`.