]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/never_type/issue-52443.rs
Auto merge of #99324 - reez12g:issue-99144, r=jyn514
[rust.git] / src / test / ui / never_type / issue-52443.rs
index cebcca944af82b9ef1524ed622476f6dc393e080..0498a8a16259010501a0387c4bcfb61a2e839a74 100644 (file)
@@ -9,6 +9,6 @@ fn main() {
     [(); { for _ in 0usize.. {}; 0}];
     //~^ ERROR `for` is not allowed in a `const`
     //~| ERROR cannot convert
-    //~| ERROR mutable references are not allowed in constants
-    //~| ERROR cannot call non-const fn
+    //~| ERROR mutable references
+    //~| ERROR cannot call
 }