summary refs log tree commit diff
path: root/src/test/ui/issue-22560.stderr
blob: b5524036fae9d84d00d82c84f2a037c1b62491ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
error[E0393]: the type parameter `RHS` must be explicitly specified
  --> $DIR/issue-22560.rs:15:13
   |
LL | type Test = Add +
   |             ^^^ missing reference to `RHS`
   |
   = note: because of the default `Self` reference, type parameters must be specified on object types

error[E0393]: the type parameter `RHS` must be explicitly specified
  --> $DIR/issue-22560.rs:18:13
   |
LL |             Sub;
   |             ^^^ missing reference to `RHS`
   |
   = note: because of the default `Self` reference, type parameters must be specified on object types

error[E0225]: only auto traits can be used as additional traits in a trait object
  --> $DIR/issue-22560.rs:18:13
   |
LL |             Sub;
   |             ^^^ non-auto additional trait

error[E0191]: the value of the associated type `Output` (from the trait `std::ops::Add`) must be specified
  --> $DIR/issue-22560.rs:15:13
   |
LL |   type Test = Add +
   |  _____________^
LL | |             //~^ ERROR E0393
LL | |             //~| ERROR E0191
LL | |             Sub;
   | |_______________^ missing associated type `Output` value

error: aborting due to 4 previous errors

Some errors occurred: E0191, E0225, E0393.
For more information about an error, try `rustc --explain E0191`.