Skip to content

Commit a41ec9a

Browse files
committed
adjust error messages in tests
1 parent 8d99e42 commit a41ec9a

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

tests/compile-fail/atomic_non_integer_arithmetic.rs

-9
This file was deleted.

tests/compile-fail/ctlz_nonzero.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ pub fn main() {
1010
unsafe {
1111
use crate::rusti::*;
1212

13-
ctlz_nonzero(0u8); //~ ERROR ctlz_nonzero called on 0
13+
ctlz_nonzero(0u8); //~ ERROR `ctlz_nonzero` called on 0
1414
}
1515
}

tests/compile-fail/cttz_nonzero.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ pub fn main() {
1010
unsafe {
1111
use crate::rusti::*;
1212

13-
cttz_nonzero(0u8); //~ ERROR cttz_nonzero called on 0
13+
cttz_nonzero(0u8); //~ ERROR `cttz_nonzero` called on 0
1414
}
1515
}

tests/compile-fail/overflowing-unchecked-rsh.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use std::intrinsics::*;
44

5-
//error-pattern: Overflowing shift by 64 in unchecked_shr
5+
//error-pattern: Overflowing shift by 64 in `unchecked_shr`
66

77
fn main() {
88
unsafe {

0 commit comments

Comments
 (0)