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.
1 parent a57d053 commit 363e07bCopy full SHA for 363e07b
library/coretests/tests/panic/location.rs
@@ -34,6 +34,8 @@ fn location_const_column() {
34
fn location_debug() {
35
let f = format!("{:?}", Location::caller());
36
assert!(f.contains("location.rs"));
37
+ assert!(!f.contains("\0"));
38
+ assert!(!f.contains("\\0"));
39
assert!(f.contains("35"));
40
assert!(f.contains("29"));
41
}
0 commit comments