]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-90804-incorrect-reference-suggestion.stderr
Rollup merge of #106889 - scottmcm:windows-mut, r=cuviper
[rust.git] / tests / ui / typeck / issue-90804-incorrect-reference-suggestion.stderr
1 error[E0277]: the trait bound `(): Marker<u32>` is not satisfied
2   --> $DIR/issue-90804-incorrect-reference-suggestion.rs:10:17
3    |
4 LL |     check::<()>(());
5    |     ----------- ^^ the trait `Marker<u32>` is not implemented for `()`
6    |     |
7    |     required by a bound introduced by this call
8    |
9 note: required by a bound in `check`
10   --> $DIR/issue-90804-incorrect-reference-suggestion.rs:7:17
11    |
12 LL | pub fn check<T: Marker<u32>>(_: T) {}
13    |                 ^^^^^^^^^^^ required by this bound in `check`
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0277`.