Skip to content

Commit ae8e7f6

Browse files
committed
Fix compile-fail error message
1 parent 22044c8 commit ae8e7f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile-fail/getrandom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ fn main() {
88
let mut buf = [0u8; 5];
99
unsafe {
1010
libc::syscall(libc::SYS_getrandom, buf.as_mut_ptr() as *mut libc::c_void, 5 as libc::size_t, 0 as libc::c_uint);
11-
//~^ ERROR constant evaluation error: miri does not support random number generators in deterministic mode!
11+
//~^ ERROR constant evaluation error: miri does not support gathering system entropy in deterministic mode!
1212
}
1313
}

0 commit comments

Comments
 (0)