summaryrefslogtreecommitdiffstats
path: root/tests/ui/lazy-type-alias-impl-trait/recursion3.stderr
blob: e1d5cafedc808ecd313fd1c4a7442dcad9117ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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`.