We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
inner_attribute_example
1 parent baaa4ed commit a52b13fCopy full SHA for a52b13f
cast_checks/tests/inner_attribute_example.rs
@@ -13,8 +13,8 @@ fn build() {
13
command.env("CAST_CHECKS_LOG", "1");
14
command.assert().success().stdout(
15
"\
16
-cast_checks rewriting `x as u16` at src/lib.rs:0:0
17
-cast_checks not descending into `mod c;` at src/lib.rs:0:0
+cast_checks rewriting `x as u16` at src/lib.rs:3:0
+cast_checks not descending into `mod c;` at src/lib.rs:3:0
18
",
19
);
20
});
@@ -26,7 +26,7 @@ fn test() {
26
command.assert().failure().stdout(predicates::str::contains(
27
28
thread 'checked_truncation' panicked at src/lib.rs:3:1:
29
-invalid cast in `x as u16` at src/lib.rs:0:0: TryFromIntError(())
+invalid cast in `x as u16` at src/lib.rs:3:0: TryFromIntError(())
30
31
));
32
0 commit comments