diff options
| author | Valentin Lazureanu <valentin@lazureanu.com> | 2020-07-21 09:09:27 +0000 |
|---|---|---|
| committer | Valentin Lazureanu <valentin@lazureanu.com> | 2020-07-31 22:15:12 +0000 |
| commit | 40e6dccfb4b0e0f21cbc846a70b348132ee4d0f2 (patch) | |
| tree | 1c070a2a228be0bf5c2975a5d530016eceb63a14 /src/tools/clippy | |
| parent | 6e87bacd37539b7e7cd75152dffd225047fa983a (diff) | |
| download | rust-40e6dccfb4b0e0f21cbc846a70b348132ee4d0f2.tar.gz rust-40e6dccfb4b0e0f21cbc846a70b348132ee4d0f2.zip | |
Rename HAIR to THIR (Typed HIR).
Diffstat (limited to 'src/tools/clippy')
| -rw-r--r-- | src/tools/clippy/clippy_lints/src/utils/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/clippy_lints/src/utils/mod.rs b/src/tools/clippy/clippy_lints/src/utils/mod.rs index 655b1133cf7..3f8e15d9029 100644 --- a/src/tools/clippy/clippy_lints/src/utils/mod.rs +++ b/src/tools/clippy/clippy_lints/src/utils/mod.rs @@ -883,7 +883,7 @@ pub fn is_ctor_or_promotable_const_function(cx: &LateContext<'_>, expr: &Expr<'_ } /// Returns `true` if a pattern is refutable. -// TODO: should be implemented using rustc/mir_build/hair machinery +// TODO: should be implemented using rustc/mir_build/thir machinery pub fn is_refutable(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool { fn is_enum_variant(cx: &LateContext<'_>, qpath: &QPath<'_>, id: HirId) -> bool { matches!( |
