]> git.lizzy.rs Git - rust.git/blobdiff - tests/compile-fail/ctlz_nonzero.rs
Auto merge of #1308 - RalfJung:miri, r=RalfJung
[rust.git] / tests / compile-fail / ctlz_nonzero.rs
index d952187eba45647de2b67e310660b9f0fa7604b7..e82ed89da18a742d446f277e258623a9fb01537a 100644 (file)
@@ -8,9 +8,8 @@ mod rusti {
 
 pub fn main() {
     unsafe {
-        use rusti::*;
+        use crate::rusti::*;
 
-        ctlz_nonzero(0u8); //~ ERROR constant evaluation error [E0080]
-        //~^ NOTE ctlz_nonzero called on 0
+        ctlz_nonzero(0u8); //~ ERROR `ctlz_nonzero` called on 0
     }
 }