about summary refs log tree commit diff
path: root/src/tools/clippy
diff options
context:
space:
mode:
authorValentin Lazureanu <valentin@lazureanu.com>2020-07-21 09:09:27 +0000
committerValentin Lazureanu <valentin@lazureanu.com>2020-07-31 22:15:12 +0000
commit40e6dccfb4b0e0f21cbc846a70b348132ee4d0f2 (patch)
tree1c070a2a228be0bf5c2975a5d530016eceb63a14 /src/tools/clippy
parent6e87bacd37539b7e7cd75152dffd225047fa983a (diff)
downloadrust-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.rs2
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!(