mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
This test was marked ignore-parallel-frontend because the panic-time query stack collection could nondeterministically print a "Failed to collect active jobs" warning. With that warning lowered to debug! the ICE output is stable across runs, so replace the directive with a blank line rather than deleting it. The expected stderr is unchanged because the line numbers stay the same.
22 lines
743 B
Rust
22 lines
743 B
Rust
//! This test ICEs because the `repr(packed)` attribute
|
|
//! was generated by a proc macro, so `#[derive]` didn't see it.
|
|
|
|
//@proc-macro: proc_macro_generate_packed.rs
|
|
//@known-bug: #120873
|
|
//@ failure-status: 101
|
|
//@ normalize-stderr: "note: .*\n\n" -> ""
|
|
//@ normalize-stderr: "thread 'rustc'.*panicked.*\n" -> ""
|
|
//@ normalize-stderr: "(error: internal compiler error: [^:]+):\d+:\d+: " -> "$1:LL:CC: "
|
|
//@ normalize-stderr: "/rustc(?:-dev)?/[a-z0-9.]+/" -> ""
|
|
//@ rustc-env:RUST_BACKTRACE=0
|
|
|
|
extern crate proc_macro_generate_packed;
|
|
use proc_macro_generate_packed::proc_macro_attribute_that_generates_repr_packed;
|
|
|
|
#[derive(PartialEq)]
|
|
#[repr(C)]
|
|
#[proc_macro_attribute_that_generates_repr_packed]
|
|
struct Dealigned<T>(u8, T);
|
|
|
|
fn main() {}
|