summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/issue-90804-incorrect-reference-suggestion.stderr
blob: 2d4069f502968ea2fea817d625939c18f979178f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0277]: the trait bound `(): Marker<u32>` is not satisfied
  --> $DIR/issue-90804-incorrect-reference-suggestion.rs:10:13
   |
LL |     check::<()>(());
   |             ^^ the trait `Marker<u32>` is not implemented for `()`
   |
note: required by a bound in `check`
  --> $DIR/issue-90804-incorrect-reference-suggestion.rs:7:17
   |
LL | pub fn check<T: Marker<u32>>(_: T) {}
   |                 ^^^^^^^^^^^ required by this bound in `check`

error: aborting due to 1 previous error

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