1
Fork 0

Remove extern crate rustc_data_structures from numerous crates.

This commit is contained in:
Nicholas Nethercote 2024-04-29 14:59:24 +10:00
parent f3e05d1609
commit 7418aa1a07
22 changed files with 18 additions and 27 deletions

View file

@ -29,9 +29,6 @@
#![feature(type_alias_impl_trait)]
#![recursion_limit = "512"] // For rustdoc
#[cfg(target_pointer_width = "64")]
#[macro_use]
extern crate rustc_data_structures;
#[macro_use]
extern crate tracing;
#[macro_use]

View file

@ -73,7 +73,7 @@ pub struct PendingPredicateObligation<'tcx> {
// `PendingPredicateObligation` is used a lot. Make sure it doesn't unintentionally get bigger.
#[cfg(target_pointer_width = "64")]
static_assert_size!(PendingPredicateObligation<'_>, 72);
rustc_data_structures::static_assert_size!(PendingPredicateObligation<'_>, 72);
impl<'tcx> FulfillmentContext<'tcx> {
/// Creates a new fulfillment context.