Deny todo!() in tidy#157706
Conversation
|
Some changes occurred in cc @BoxyUwU Some changes occurred in compiler/rustc_builtin_macros/src/autodiff.rs cc @ZuseZ4 Some changes occurred in compiler/rustc_sanitizers cc @rcvalle Some changes occurred in match checking cc @Nadrieril Some changes occurred to the CTFE machinery This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a, @makai410 Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri |
|
r? @Kivooeo rustbot has assigned @Kivooeo. Use Why was this reviewer chosen?The reviewer was selected based on:
|
| @@ -206,7 +206,7 @@ impl TcpListener { | |||
|
|
|||
| impl fmt::Debug for TcpListener { | |||
| fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result { | |||
| todo!() | |||
| unimplemented!() | |||
| } | |||
| } | |||
There was a problem hiding this comment.
nit: I'm not sure how much uefi target maintainers care about this, but they would probably like to be able to search for this? Could you maybe add fixmes?
| // ignore-tidy-todo | ||
| code = " => {{ todo!() }}", |
There was a problem hiding this comment.
This is imo confusing. From what I can tell // ignore-tidy-... annotations are file global. This disables the check for the whole file, not this line...
|
☔ The latest upstream changes (presumably #157739) made this pull request unmergeable. Please resolve the merge conflicts. |
Implements rust-lang/compiler-team#999