Add warn(unreachable_pub)
to rustc_expand
.
Plus a tiny bit of reformatting.
This commit is contained in:
parent
5fd503ab44
commit
df5fbf05a1
7 changed files with 22 additions and 21 deletions
|
@ -407,7 +407,7 @@ fn token_name_eq(t1: &Token, t2: &Token) -> bool {
|
|||
|
||||
// Note: the vectors could be created and dropped within `parse_tt`, but to avoid excess
|
||||
// allocations we have a single vector for each kind that is cleared and reused repeatedly.
|
||||
pub struct TtParser {
|
||||
pub(crate) struct TtParser {
|
||||
macro_name: Ident,
|
||||
|
||||
/// The set of current mps to be processed. This should be empty by the end of a successful
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue