2019-05-05 10:25:01 -04:00
|
|
|
//! Verify that the `decls` module implicitly added by the compiler does not cause `missing_docs`
|
|
|
|
//! warnings.
|
|
|
|
|
2019-07-03 06:30:28 +09:00
|
|
|
//@ build-pass (FIXME(62277): could be check-pass?)
|
2019-05-05 10:25:01 -04:00
|
|
|
//@ force-host
|
|
|
|
//@ no-prefer-dynamic
|
2024-03-25 14:24:08 +00:00
|
|
|
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
2019-05-05 10:25:01 -04:00
|
|
|
|
|
|
|
#![crate_type = "proc-macro"]
|
|
|
|
#![deny(missing_docs)]
|
|
|
|
|
|
|
|
extern crate proc_macro;
|
|
|
|
use proc_macro::*;
|
|
|
|
|
|
|
|
/// Foo1.
|
|
|
|
#[proc_macro]
|
|
|
|
pub fn foo1(input: TokenStream) -> TokenStream { input }
|