diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2024-11-30 19:47:50 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2024-11-30 19:53:36 +0100 |
| commit | 484c561d78e3bb4f9e4ec6553303546efbb4ff38 (patch) | |
| tree | 565eb829af3932d65aa661a01b15c7065a2720b1 /compiler/rustc_span | |
| parent | e48ddd8a0bbd1769587017f04c518d686ea3b206 (diff) | |
Add diagnostic item for `std::ops::ControlFlow`
This will be used in Clippy to detect useless conversions done through `ControlFlow::map_break()` and `ControlFlow::map_continue()`.
Diffstat (limited to 'compiler/rustc_span')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 3a07c283e0e..c7fd677f794 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -182,6 +182,7 @@ symbols! { ConstParamTy_, Context, Continue, + ControlFlow, Copy, Cow, Debug, |
