]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/pattern/usefulness/always-inhabited-union-ref.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / pattern / usefulness / always-inhabited-union-ref.rs
index 11eae2af9c95f74711ca9c4e0e5e9c0a316129ff..7d1cac8a442f5eae819c049f52de8966fb3d0fe7 100644 (file)
@@ -21,7 +21,7 @@ fn uninhab_union() -> Foo {
 
 fn match_on_uninhab() {
     match uninhab_ref() {
-        //~^ ERROR non-exhaustive patterns: type `&'static !` is non-empty
+        //~^ ERROR non-exhaustive patterns: type `&!` is non-empty
     }
 
     match uninhab_union() {