rust/tests/ui/rust-2024
Matthias Krüger cc17ca2414
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
2024-07-28 13:42:18 +02:00
..
prelude-migration Add migration lint for 2024 prelude additions 2024-07-28 11:44:03 +02:00
unsafe-attributes Add hard error and migration lint for unsafe attrs 2024-06-23 19:02:14 -05:00
unsafe-extern-blocks Add parse fail test using safe trait/impl trait 2024-07-03 12:08:56 -03:00
box-slice-into-iter-ambiguous.fixed Adjust the method ambiguity lint too 2024-05-20 19:21:38 -04:00
box-slice-into-iter-ambiguous.rs Adjust the method ambiguity lint too 2024-05-20 19:21:38 -04:00
box-slice-into-iter-ambiguous.stderr Adjust the method ambiguity lint too 2024-05-20 19:21:38 -04:00
gen-kw-in-macro.rs Make sure we don't deny macro vars w keyword names 2024-05-07 19:13:33 -04:00
gen-kw.e2015.stderr Make sure we don't deny macro vars w keyword names 2024-05-07 19:13:33 -04:00
gen-kw.e2018.stderr Make sure we don't deny macro vars w keyword names 2024-05-07 19:13:33 -04:00
gen-kw.rs Make sure we don't deny macro vars w keyword names 2024-05-07 19:13:33 -04:00
prelude2024.rs Add Future and IntoFuture to the 2024 prelude 2024-02-18 23:20:05 +01:00
safe-outside-extern.gated.stderr Don't allow unsafe statics outside of extern blocks 2024-07-18 18:02:29 -04:00
safe-outside-extern.rs Don't allow unsafe statics outside of extern blocks 2024-07-18 18:02:29 -04:00
safe-outside-extern.ungated.stderr Don't allow unsafe statics outside of extern blocks 2024-07-18 18:02:29 -04:00
unsafe-env-suggestion.fixed Rename deprecated_safe lint to deprecated_safe_2024 2024-07-17 14:39:56 +02:00
unsafe-env-suggestion.rs Rename deprecated_safe lint to deprecated_safe_2024 2024-07-17 14:39:56 +02:00
unsafe-env-suggestion.stderr Rename deprecated_safe lint to deprecated_safe_2024 2024-07-17 14:39:56 +02:00
unsafe-env.e2021.stderr Don't trigger unsafe_op_in_unsafe_fn for deprecated safe fns 2024-06-05 23:44:59 +02:00
unsafe-env.e2024.stderr Don't trigger unsafe_op_in_unsafe_fn for deprecated safe fns 2024-06-05 23:44:59 +02:00
unsafe-env.rs Don't trigger unsafe_op_in_unsafe_fn for deprecated safe fns 2024-06-05 23:44:59 +02:00