mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Enable extra warnings required by rust-lang/rust
This commit is contained in:
parent
0ded8e734f
commit
23d25a3094
38 changed files with 84 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
//! `tt` crate defines a `TokenTree` data structure: this is the interface (both
|
||||
//! input and output) of macros. It closely mirrors `proc_macro` crate's
|
||||
//! `TokenTree`.
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
|
||||
use std::fmt;
|
||||
|
||||
use stdx::impl_from;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue