about summary refs log tree commit diff
path: root/tests/ui/diagnostic_namespace/do_not_recommend/nested.current.stderr
blob: cb1da8ff8be383e64ae8e9a4fc623f6bdcc55b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0277]: the trait bound `(): Root` is not satisfied
  --> $DIR/nested.rs:22:18
   |
LL |     needs_root::<()>();
   |                  ^^ the trait `Root` is not implemented for `()`
   |
note: required by a bound in `needs_root`
  --> $DIR/nested.rs:19:18
   |
LL | fn needs_root<T: Root>() {}
   |                  ^^^^ required by this bound in `needs_root`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.