]>
Commit | Line | Data |
---|---|---|
064997fb | 1 | error[E0284]: type annotations needed |
ed00b5ec | 2 | --> $DIR/issue-71584.rs:5:15 |
ba9703b0 XL |
3 | | |
4 | LL | 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` | |
10 | help: try using a fully qualified path to specify the expected types | |
11 | | | |
12 | LL | d = d % <u32 as Into<T>>::into(n); | |
13 | | +++++++++++++++++++++++ ~ | |
ba9703b0 | 14 | |
4b012472 | 15 | error: aborting due to 1 previous error |
ba9703b0 XL |
16 | |
17 | For more information about this error, try `rustc --explain E0284`. |