about summary refs log tree commit diff
path: root/src/test/ui/pattern
diff options
context:
space:
mode:
authorCameron Steffen <cam.steffen94@gmail.com>2022-10-23 17:32:17 -0500
committerCameron Steffen <cam.steffen94@gmail.com>2022-11-20 19:04:11 -0600
commit34cbe727806429a8a034f492cff1b588e70c33dc (patch)
tree0d5c6dd103d328d15e85bf204afbc6b9a5f53211 /src/test/ui/pattern
parenta6d96f9fd7ca154fe2840a4d0dc6d6ce315b000e (diff)
downloadrust-34cbe727806429a8a034f492cff1b588e70c33dc.tar.gz
rust-34cbe727806429a8a034f492cff1b588e70c33dc.zip
Change to Ty::is_inhabited_from
Diffstat (limited to 'src/test/ui/pattern')
-rw-r--r--src/test/ui/pattern/usefulness/uninhabited.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pattern/usefulness/uninhabited.rs b/src/test/ui/pattern/usefulness/uninhabited.rs
index 77cd0f4005e..5622808d4c7 100644
--- a/src/test/ui/pattern/usefulness/uninhabited.rs
+++ b/src/test/ui/pattern/usefulness/uninhabited.rs
@@ -2,7 +2,7 @@
 // aux-build:empty.rs
 //
 // This tests plays with matching and uninhabited types. This also serves as a test for the
-// `tcx.is_ty_uninhabited_from()` function.
+// `Ty::is_inhabited_from` function.
 #![feature(never_type)]
 #![feature(never_type_fallback)]
 #![feature(exhaustive_patterns)]