diff options
Diffstat (limited to 'tests/incremental/delayed_span_bug.rs')
-rw-r--r-- | tests/incremental/delayed_span_bug.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/incremental/delayed_span_bug.rs b/tests/incremental/delayed_span_bug.rs new file mode 100644 index 000000000..2529e531e --- /dev/null +++ b/tests/incremental/delayed_span_bug.rs @@ -0,0 +1,8 @@ +// revisions: cfail1 cfail2 +// should-ice +// error-pattern: delayed span bug triggered by #[rustc_error(delay_span_bug_from_inside_query)] + +#![feature(rustc_attrs)] + +#[rustc_error(delay_span_bug_from_inside_query)] +fn main() {} |