Closed
Description
I hit the following UI test failure in travis today:
| ^^^^^^^^ the trait `std::convert::From<&str>` is not implemented for `i32`
|
= help: the following implementations were found:
+ <i32 as std::convert::From<u8>>
<i32 as std::convert::From<i8>>
- <i32 as std::convert::From<bool>>
<i32 as std::convert::From<u16>>
<i32 as std::convert::From<i16>>
- <i32 as std::convert::From<u8>>
+ <i32 as std::convert::From<bool>>
= note: required by `std::convert::From::from`
https://travis-ci.org/rust-lang/rust/jobs/415272826#L1942-L1958
Despite being fully-up-to-date against master and that passing locally.
Perhaps the order is deterministic normally, but different for me because I built --incremental
?
I figured it was worth filing, at least, as I can't see any obvious sort in the relevant code:
rust/src/librustc/traits/error_reporting.rs
Lines 407 to 470 in 5a0d296