]> git.proxmox.com Git - rustc.git/blame - tests/ui/inference/issue-71584.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / inference / issue-71584.stderr
CommitLineData
064997fb 1error[E0284]: type annotations needed
ed00b5ec 2 --> $DIR/issue-71584.rs:5:15
ba9703b0
XL
3 |
4LL | d = d % n.into();
064997fb
FG
5 | - ^^^^
6 | |
7 | type must be known at this point
8 |
9 = note: cannot satisfy `<u64 as Rem<_>>::Output == u64`
10help: try using a fully qualified path to specify the expected types
11 |
12LL | d = d % <u32 as Into<T>>::into(n);
13 | +++++++++++++++++++++++ ~
ba9703b0 14
4b012472 15error: aborting due to 1 previous error
ba9703b0
XL
16
17For more information about this error, try `rustc --explain E0284`.