rust/tests/incremental/incremental_proc_macro.rs
Vadim Petrochenkov 56d6b4e427 compiletest: Support matching on non-json lines in compiler output
and migrate most of remaining `error-pattern`s to it.
2025-05-04 18:27:45 +03:00

17 lines
404 B
Rust

//@ proc-macro: incremental_proc_macro_aux.rs
//@ revisions: cfail1 cfail2
//@ build-pass (FIXME(62277): could be check-pass?)
// This test makes sure that we still find the proc-macro registrar function
// when we compile proc-macros incrementally (see #47292).
#![crate_type = "rlib"]
#[macro_use]
extern crate incremental_proc_macro_aux;
#[derive(IncrementalMacro)]
pub struct Foo {
_x: u32
}