]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/always-inhabited-union-ref.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / always-inhabited-union-ref.rs
index b2f2818cb71b2fc2b49657db7d2b30384176e1b5..11eae2af9c95f74711ca9c4e0e5e9c0a316129ff 100644 (file)
@@ -21,11 +21,11 @@ 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 `&'static !` is non-empty
     }
 
     match uninhab_union() {
-        //~^ ERROR non-exhaustive patterns: type Foo is non-empty
+        //~^ ERROR non-exhaustive patterns: type `Foo` is non-empty
     }
 }