Uh oh!
There was an error while loading. Please reload this page.
Add hint for people missing TryFrom, TryInto, FromIterator import pre-2021 - #90288
Conversation
rust-highfive
commented
Oct 26, 2021
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
The issue here was that the suggestions are in the wrong order; the thing is this test passes locally. Probably the actual cause of this is that CI includes some |
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Whenever I've seen an issue like this, it's typically some non-determinism somewhere in the compiler that happens to show up on CI. CI's output shows the command being run, so you should be able to confirm locally that it isn't a difference in flags or anything like that (but if it is, that might help you fix it). This sort of thing normally happens because there's a type with a non-deterministic iteration order that we're using somewhere, so you might be able to look for something like that (e.g. a |
…n 2021 is suggested
…id getting inconsistent output between local and CI.
fd0e432 to
cb336f1CompareJakobDegen
commented
Oct 27, 2021
Change was caused by #89427 , I just hadn't rebased. Should be fixed now. |
JakobDegen
commented
Oct 27, 2021
@rustbot label -S-waiting-on-author +S-waiting-on-review |
davidtwco
commented
Oct 27, 2021
@bors r+ |
bors
commented
Oct 27, 2021
📌 Commit cb336f1 has been approved by |
…askrgr Rollup of 5 pull requests Successful merges: - rust-lang#90239 (Consistent big O notation in map.rs) - rust-lang#90267 (fix: inner attribute followed by outer attribute causing ICE) - rust-lang#90288 (Add hint for people missing `TryFrom`, `TryInto`, `FromIterator` import pre-2021) - rust-lang#90304 (Add regression test for rust-lang#75961) - rust-lang#90344 (Add tracking issue number to const_cstr_unchecked) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Adds a hint anytime a
TryFrom,TryInto,FromIteratorimport is suggested noting that these traits are automatically imported in Edition 2021.