2019-10-21 11:08:14 -05:00
|
|
|
// check-pass
|
2019-10-21 11:08:14 -05:00
|
|
|
// force-host
|
|
|
|
// no-prefer-dynamic
|
2019-10-21 11:08:14 -05:00
|
|
|
|
|
|
|
#![deny(deprecated)]
|
2019-10-21 11:08:14 -05:00
|
|
|
|
|
|
|
#![crate_type = "proc-macro"]
|
|
|
|
|
|
|
|
extern crate proc_macro;
|
|
|
|
use proc_macro::*;
|
|
|
|
|
|
|
|
#[proc_macro]
|
|
|
|
#[deprecated(since = "1.0.0", note = "test")]
|
|
|
|
pub fn test_compile_without_warning_with_deprecated(_: TokenStream) -> TokenStream {
|
2019-10-21 11:08:14 -05:00
|
|
|
TokenStream::new()
|
2019-10-21 11:08:14 -05:00
|
|
|
}
|