Rollup merge of #92469 - joshtriplett:test-number-fix, r=Mark-Simulacrum
Make tidy check for magic numbers that spell things Remove existing problematic cases. r? `@Mark-Simulacrum`
This commit is contained in:
commit
4bd4e271e4
6 changed files with 27 additions and 12 deletions
|
|
@ -31,7 +31,7 @@ static mut frobulator: usize = 0xdeadbeef;
|
|||
|
||||
pub fn main() {
|
||||
unsafe {
|
||||
frobulator = 0xcafebabe;
|
||||
frobulator = 0x12345678;
|
||||
println!("{} {} {}", i_live_in_more_text(), magic, frobulator);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue