Hacker News new | past | comments | ask | show | jobs | submit login

The actual diff in question [1] does show that there have been multiple cases where such "magic" numbers did appear in rustc, so that the lint is meant to catch any such known cases to reduce possibly resulting complaints in advance, no matter you like them or not. (This is also why the list is not as exhaustive, as it needn't to be.)

[1] https://github.com/rust-lang/rust/pull/92469/files




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: