about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-03-21 17:11:06 -0400
committerMichael Goulet <michael@errs.io>2024-03-22 11:13:29 -0400
commitff0c31e6b9bc8e847c3b1b9d61793325edfacf47 (patch)
tree366bdcf6c869a19f56b8b3c2d42bf8ac6a5cf3a1 /compiler/rustc_borrowck/src/lib.rs
parentf0f224a37f117104358f4d807d71037256f5a646 (diff)
downloadrust-ff0c31e6b9bc8e847c3b1b9d61793325edfacf47.tar.gz
rust-ff0c31e6b9bc8e847c3b1b9d61793325edfacf47.zip
Programmatically convert some of the pat ctors
Diffstat (limited to 'compiler/rustc_borrowck/src/lib.rs')
-rw-r--r--compiler/rustc_borrowck/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/lib.rs b/compiler/rustc_borrowck/src/lib.rs
index 9f4f88b2b93..ae02b7b839c 100644
--- a/compiler/rustc_borrowck/src/lib.rs
+++ b/compiler/rustc_borrowck/src/lib.rs
@@ -1649,7 +1649,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
                     | ty::Str
                     | ty::Array(_, _)
                     | ty::Slice(_)
-                    | ty::RawPtr(_)
+                    | ty::RawPtr(_, _)
                     | ty::Ref(_, _, _)
                     | ty::FnDef(_, _)
                     | ty::FnPtr(_)