Files
rust/compiler
bors c45e831d8f Auto merge of #124228 - compiler-errors:lint-overcaptures, r=oli-obk
Warn against changes in opaque lifetime captures in 2024

Adds a (mostly[^1]) machine-applicable lint `IMPL_TRAIT_OVERCAPTURES` which detects cases where we will capture more lifetimes in edition 2024 than in edition <= 2021, which may lead to erroneous borrowck errors.

This lint is gated behind the `precise_capturing` feature gate and marked `Allow` for now.

[^1]: Except when there are APITs -- I may work on that soon

r? oli-obk
2024-05-14 07:44:16 +00:00
..
2024-05-14 08:19:58 +10:00
2024-05-13 23:57:56 -04:00
2024-04-18 15:36:25 +10:00
2024-05-13 23:57:56 -04:00
2024-05-08 15:06:35 +00:00
2024-05-10 15:44:03 -04:00
2024-05-01 22:19:11 -04:00
2024-05-13 16:55:58 -04:00
2024-05-13 16:55:58 -04:00
2024-05-13 11:59:42 -04:00