mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
5d1d384443
Because the corresponding `Level` is `DelayedBug` and `span_delayed_bug` follows the pattern used everywhere else: `span_err`, `span_warning`, etc.
9 lines
232 B
Rust
9 lines
232 B
Rust
// revisions: cfail1 cfail2
|
|
// should-ice
|
|
// error-pattern: delayed span bug triggered by #[rustc_error(span_delayed_bug_from_inside_query)]
|
|
|
|
#![feature(rustc_attrs)]
|
|
|
|
#[rustc_error(span_delayed_bug_from_inside_query)]
|
|
fn main() {}
|