mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
cc17ca2414
Add migration lint for 2024 prelude additions This adds the migration lint for the newly ambiguous methods `poll` and `into_future`. When these methods are used on types implementing the respective traits, it will be ambiguous in the future, which can lead to hard errors or behavior changes depending on the exact circumstances. tracked by #121042 <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r? <reviewer name> --> r? compiler-errors as the method prober |
||
---|---|---|
.. | ||
prelude-migration | ||
unsafe-attributes | ||
unsafe-extern-blocks | ||
box-slice-into-iter-ambiguous.fixed | ||
box-slice-into-iter-ambiguous.rs | ||
box-slice-into-iter-ambiguous.stderr | ||
gen-kw-in-macro.rs | ||
gen-kw.e2015.stderr | ||
gen-kw.e2018.stderr | ||
gen-kw.rs | ||
prelude2024.rs | ||
safe-outside-extern.gated.stderr | ||
safe-outside-extern.rs | ||
safe-outside-extern.ungated.stderr | ||
unsafe-env-suggestion.fixed | ||
unsafe-env-suggestion.rs | ||
unsafe-env-suggestion.stderr | ||
unsafe-env.e2021.stderr | ||
unsafe-env.e2024.stderr | ||
unsafe-env.rs |