mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +00:00
maint: remove obsolete attributes
This commit is contained in:
parent
59a42f1254
commit
a9e0208ee2
1 changed files with 0 additions and 4 deletions
|
@ -1,6 +1,3 @@
|
|||
#![allow(dead_code)] // work-around for GH:rust-lang/rust#62127; maint: can be removed when MinSRV >= v1.38.0
|
||||
#![allow(unused_macros)] // work-around for GH:rust-lang/rust#62127; maint: can be removed when MinSRV >= v1.38.0
|
||||
|
||||
// Copyright (C) ~ Roy Ivy III <rivy.dev@gmail.com>; MIT license
|
||||
|
||||
extern crate proc_macro;
|
||||
|
@ -44,7 +41,6 @@ impl syn::parse::Parse for Tokens {
|
|||
}
|
||||
|
||||
#[proc_macro]
|
||||
#[cfg(not(test))] // work-around for GH:rust-lang/rust#62127; maint: can be removed when MinSRV >= v1.38.0
|
||||
pub fn main(stream: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
||||
let Tokens { expr } = syn::parse_macro_input!(stream as Tokens);
|
||||
proc_dbg!(&expr);
|
||||
|
|
Loading…
Reference in a new issue