]> git.lizzy.rs Git - rust.git/blob - tests/incremental/issue-80336-invalid-span.rs
Rollup merge of #107779 - compiler-errors:issue-107775, r=jackh726
[rust.git] / tests / incremental / issue-80336-invalid-span.rs
1 // Regression test for issue #80336
2 // Test that we properly handle encoding, decoding, and hashing
3 // of spans with an invalid location and non-root `SyntaxContext`
4
5 // revisions:rpass1 rpass2
6 // only-x86_64
7
8 pub fn main() {
9     let _ = is_x86_feature_detected!("avx2");
10 }