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/test/ui/pattern | |
| parent | 6e87bacd37539b7e7cd75152dffd225047fa983a (diff) | |
Rename HAIR to THIR (Typed HIR).
Diffstat (limited to 'src/test/ui/pattern')
| -rw-r--r-- | src/test/ui/pattern/bindings-after-at/borrowck-pat-by-move-and-ref-inverse-promotion.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/pattern/const-pat-ice.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/pattern/bindings-after-at/borrowck-pat-by-move-and-ref-inverse-promotion.rs b/src/test/ui/pattern/bindings-after-at/borrowck-pat-by-move-and-ref-inverse-promotion.rs index 14797917193..993954b450e 100644 --- a/src/test/ui/pattern/bindings-after-at/borrowck-pat-by-move-and-ref-inverse-promotion.rs +++ b/src/test/ui/pattern/bindings-after-at/borrowck-pat-by-move-and-ref-inverse-promotion.rs @@ -1,5 +1,5 @@ // Test that `by_move_binding @ pat_with_by_ref_bindings` is prevented even with promotion. -// Currently this logic exists in HAIR match checking as opposed to borrowck. +// Currently this logic exists in THIR match checking as opposed to borrowck. #![feature(bindings_after_at)] #![feature(move_ref_pattern)] diff --git a/src/test/ui/pattern/const-pat-ice.stderr b/src/test/ui/pattern/const-pat-ice.stderr index 6e87e5c6912..2aa0824f301 100644 --- a/src/test/ui/pattern/const-pat-ice.stderr +++ b/src/test/ui/pattern/const-pat-ice.stderr @@ -1,4 +1,4 @@ -thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir_build/hair/pattern/_match.rs:LL:CC +thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir_build/thir/pattern/_match.rs:LL:CC note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace error: internal compiler error: unexpected panic |
