Avoid repeating qualifiers on static_assert_size
calls.
Some of these don't need a `use` statement because there is already a `#[macro_use] extern crate rustc_data_structures` item in the crate.
This commit is contained in:
parent
f03ce30962
commit
574ba831d4
6 changed files with 55 additions and 51 deletions
|
@ -814,8 +814,8 @@ impl<'tcx> fmt::Display for Pat<'tcx> {
|
|||
mod size_asserts {
|
||||
use super::*;
|
||||
// These are in alphabetical order, which is easy to maintain.
|
||||
rustc_data_structures::static_assert_size!(Block, 56);
|
||||
rustc_data_structures::static_assert_size!(Expr<'_>, 104);
|
||||
rustc_data_structures::static_assert_size!(Pat<'_>, 24);
|
||||
rustc_data_structures::static_assert_size!(Stmt<'_>, 120);
|
||||
static_assert_size!(Block, 56);
|
||||
static_assert_size!(Expr<'_>, 104);
|
||||
static_assert_size!(Pat<'_>, 24);
|
||||
static_assert_size!(Stmt<'_>, 120);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue