]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18959.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-18959.stderr
1 error[E0038]: the trait `Bar` cannot be made into an object
2   --> $DIR/issue-18959.rs:11:1
3    |
4 LL | fn foo(b: &dyn Bar) {
5    | ^^^^^^^^^^^^^^^^^^^ the trait `Bar` cannot be made into an object
6    |
7    = note: method `foo` has generic type parameters
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0038`.