]> git.lizzy.rs Git - rust.git/blob - tests/incremental/incremental_proc_macro.rs
Rollup merge of #107700 - jyn514:tools-builder, r=Mark-Simulacrum
[rust.git] / tests / incremental / incremental_proc_macro.rs
1 // aux-build:incremental_proc_macro_aux.rs
2 // revisions: cfail1 cfail2
3 // build-pass (FIXME(62277): could be check-pass?)
4
5 // This test makes sure that we still find the proc-macro registrar function
6 // when we compile proc-macros incrementally (see #47292).
7
8 #![crate_type = "rlib"]
9
10 #[macro_use]
11 extern crate incremental_proc_macro_aux;
12
13 #[derive(IncrementalMacro)]
14 pub struct Foo {
15     x: u32
16 }