We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a788b5b commit 642c5d9Copy full SHA for 642c5d9
cast_checks/tests/inner_attribute_example.rs
@@ -18,7 +18,10 @@ cast_checks not descending into `mod c ;` at src/lib.rs:0:0
18
fn test() {
19
run_command("test", |mut command| {
20
command.assert().failure().stdout(predicates::str::contains(
21
- "thread 'checked_truncation' panicked at 'invalid cast in `x as u16` at src/lib.rs:0:0: TryFromIntError(())', src/lib.rs:3:1"
+ "\
22
+thread 'checked_truncation' panicked at src/lib.rs:3:1:
23
+invalid cast in `x as u16` at src/lib.rs:0:0: TryFromIntError(())
24
+",
25
));
26
});
27
}
0 commit comments