]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/incremental_proc_macro.rs
Auto merge of #56838 - Aaron1011:fix/rustdoc-infer-unify, r=nikomatsakis
[rust.git] / src / test / incremental / incremental_proc_macro.rs
1 // aux-build:incremental_proc_macro_aux.rs
2 // revisions: cfail1 cfail2
3 // compile-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 }