The following test passes on stable, but not in nightly:
//@ edition: 2015
#![warn(keyword_idents_2024)]
#[expect(keyword_idents_2024)]
//~^ WARN `gen` is a keyword in the 2024 edition
fn main() {
let gen = 5;
}
This is very likely caused by: #152369
(why is there no test for this lmao?)
The following test passes on stable, but not in nightly:
This is very likely caused by: #152369
(why is there no test for this lmao?)