fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
523 B17 linesraw
1error[E0284]: type annotations needed
2  --> $DIR/issue-71584.rs:4:15
3   |
4LL |     d = d % n.into();
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   |             +++++++++++++++++++++++ ~
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0284`.