]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0038.stderr
Auto merge of #47804 - retep007:recursive-requirements, r=pnkfelix
[rust.git] / src / test / ui / error-codes / E0038.stderr
1 error[E0038]: the trait `Trait` cannot be made into an object
2   --> $DIR/E0038.rs:15:1
3    |
4 15 | fn call_foo(x: Box<Trait>) {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` cannot be made into an object
6    |
7    = note: method `foo` references the `Self` type in its arguments or return type
8
9 error: aborting due to previous error
10