mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Rename traits::drop -> traits::misc.
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
mod chalk_fulfill;
|
||||
pub mod codegen;
|
||||
mod coherence;
|
||||
pub mod drop;
|
||||
mod engine;
|
||||
pub mod error_reporting;
|
||||
mod fulfill;
|
||||
pub mod misc;
|
||||
mod object_safety;
|
||||
mod on_unimplemented;
|
||||
mod project;
|
||||
@@ -1244,7 +1244,7 @@ fn self_ty(&self) -> ty::Binder<Ty<'tcx>> {
|
||||
}
|
||||
|
||||
pub fn provide(providers: &mut ty::query::Providers<'_>) {
|
||||
drop::provide(providers);
|
||||
misc::provide(providers);
|
||||
*providers = ty::query::Providers {
|
||||
is_object_safe: object_safety::is_object_safe_provider,
|
||||
specialization_graph_of: specialize::specialization_graph_provider,
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
use lint::{LateContext, LintArray, LintContext};
|
||||
use rustc::lint;
|
||||
use rustc::lint::FutureIncompatibleInfo;
|
||||
use rustc::traits::drop::can_type_implement_copy;
|
||||
use rustc::traits::misc::can_type_implement_copy;
|
||||
use rustc::ty::{self, layout::VariantIdx, Ty, TyCtxt};
|
||||
use rustc_data_structures::fx::FxHashSet;
|
||||
use rustc_feature::Stability;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
use rustc::middle::privacy::AccessLevels;
|
||||
use rustc::middle::stability::{DeprecationEntry, Index};
|
||||
use rustc::session::Session;
|
||||
use rustc::traits::drop::can_type_implement_copy;
|
||||
use rustc::traits::misc::can_type_implement_copy;
|
||||
use rustc::ty::query::Providers;
|
||||
use rustc::ty::TyCtxt;
|
||||
use rustc_data_structures::fx::{FxHashMap, FxHashSet};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
use rustc::middle::region;
|
||||
|
||||
use rustc::infer;
|
||||
use rustc::traits::drop::{can_type_implement_copy, CopyImplementationError};
|
||||
use rustc::traits::misc::{can_type_implement_copy, CopyImplementationError};
|
||||
use rustc::traits::predicate_for_trait_def;
|
||||
use rustc::traits::{self, ObligationCause, TraitEngine};
|
||||
use rustc::ty::adjustment::CoerceUnsizedInfo;
|
||||
|
||||
Reference in New Issue
Block a user