about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-28 13:42:18 +0200
committerGitHub <noreply@github.com>2024-07-28 13:42:18 +0200
commitcc17ca241434db76ce34ec4c7cfdddd7c3fb990f (patch)
treef0c1ad41f36138eac88fc95a70f61ffe474f282b /compiler/rustc_builtin_macros/src
parent3954398882707ce3f683722795d1a7111312b5d9 (diff)
parent6f662176e7cc5ff81642ca243f50c6b7ed86b8f8 (diff)
downloadrust-cc17ca241434db76ce34ec4c7cfdddd7c3fb990f.tar.gz
rust-cc17ca241434db76ce34ec4c7cfdddd7c3fb990f.zip
Rollup merge of #125889 - Nilstrieb:migrate-into-the-future, r=compiler-errors
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
Diffstat (limited to 'compiler/rustc_builtin_macros/src')
0 files changed, 0 insertions, 0 deletions