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 1dff2c5 commit 7ee72cbCopy full SHA for 7ee72cb
src/test/run-pass/import-crate-with-invalid-spans.rs
@@ -18,5 +18,6 @@ fn main() {
18
// The AST of `exported_generic` stored in crate_with_invalid_spans's
19
// metadata should contain an invalid span where span.lo > span.hi.
20
// Let's make sure the compiler doesn't crash when encountering this.
21
- let _ = crate_with_invalid_spans::exported_generic(32u32, 7u32);
+ let (a, b) = crate_with_invalid_spans::exported_generic(32u32, 7u32);
22
+ assert_eq!((a, b), (32u32, 8 + 8 - 1));
23
}
0 commit comments