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 | aa3d9ca0e9dfe95ed2fc53a381d4559f3bbe9251 (patch) | |
| tree | 75111edc269f17b1577f5b937721185a17215027 | |
| parent | 133e1d677333fe683a75fac6d6344e7073fb96af (diff) | |
| download | rust-aa3d9ca0e9dfe95ed2fc53a381d4559f3bbe9251.tar.gz rust-aa3d9ca0e9dfe95ed2fc53a381d4559f3bbe9251.zip | |
Rename HAIR to THIR (Typed HIR).
| -rw-r--r-- | clippy_lints/src/utils/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/mod.rs b/clippy_lints/src/utils/mod.rs index 655b1133cf7..3f8e15d9029 100644 --- a/clippy_lints/src/utils/mod.rs +++ b/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!( |
