Remove extern crate rustc_data_structures
from numerous crates.
This commit is contained in:
parent
f3e05d1609
commit
7418aa1a07
22 changed files with 18 additions and 27 deletions
|
@ -479,7 +479,7 @@ pub enum SubregionOrigin<'tcx> {
|
|||
|
||||
// `SubregionOrigin` is used a lot. Make sure it doesn't unintentionally get bigger.
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
static_assert_size!(SubregionOrigin<'_>, 32);
|
||||
rustc_data_structures::static_assert_size!(SubregionOrigin<'_>, 32);
|
||||
|
||||
impl<'tcx> SubregionOrigin<'tcx> {
|
||||
pub fn to_constraint_category(&self) -> ConstraintCategory<'tcx> {
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
#![feature(yeet_expr)]
|
||||
#![recursion_limit = "512"] // For rustdoc
|
||||
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
#[macro_use]
|
||||
extern crate rustc_data_structures;
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
#[macro_use]
|
||||
|
|
|
@ -113,7 +113,7 @@ impl<'tcx> PolyTraitObligation<'tcx> {
|
|||
|
||||
// `PredicateObligation` is used a lot. Make sure it doesn't unintentionally get bigger.
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
static_assert_size!(PredicateObligation<'_>, 48);
|
||||
rustc_data_structures::static_assert_size!(PredicateObligation<'_>, 48);
|
||||
|
||||
pub type PredicateObligations<'tcx> = Vec<PredicateObligation<'tcx>>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue