mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
proc, input, output: cleanup warnings
This commit is contained in:
parent
ab07fd2b43
commit
60c0771024
6 changed files with 32 additions and 93 deletions
|
|
@ -2,23 +2,17 @@
|
|||
#![feature(box_patterns)]
|
||||
extern crate proc_macro;
|
||||
|
||||
pub(crate) use std::collections::{BTreeMap, BTreeSet};
|
||||
pub(crate) use std::collections::BTreeMap;
|
||||
pub(crate) use std::cmp::Ordering;
|
||||
pub(crate) use std::sync::Arc;
|
||||
pub(crate) use proc_macro::TokenStream;
|
||||
pub(crate) use proc_macro2::{
|
||||
TokenStream as TokenStream2, TokenTree,
|
||||
Ident, Span, Punct, Spacing::*, Group, Delimiter, Literal
|
||||
TokenStream as TokenStream2, Ident, Span, Punct, Group, Delimiter, Spacing::*
|
||||
};
|
||||
pub(crate) use syn::{
|
||||
parse, parse_macro_input, parse_quote as pq,
|
||||
braced, bracketed, parenthesized, Token,
|
||||
Arm, Expr, Attribute, Meta, MetaList, Path, PathSegment, PathArguments,
|
||||
ImplItem, ImplItemFn, LitStr, Type, ItemImpl, ReturnType, Signature, FnArg,
|
||||
Pat, PatType, PatIdent,
|
||||
parse_macro_input, ImplItem, ImplItemFn, LitStr, Type,
|
||||
ItemImpl, ReturnType, Signature, FnArg, Pat, PatType, PatIdent,
|
||||
parse::{Parse, ParseStream, Result},
|
||||
token::{PathSep, Brace},
|
||||
punctuated::Punctuated,
|
||||
};
|
||||
pub(crate) use quote::{quote, TokenStreamExt, ToTokens};
|
||||
pub(crate) use heck::{AsKebabCase, AsUpperCamelCase};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue