Compiler: Rename "object safe" to "dyn compatible"
This commit is contained in:
parent
f5cd2c5888
commit
01a063f9df
183 changed files with 523 additions and 510 deletions
|
@ -5,11 +5,11 @@
|
|||
pub mod auto_trait;
|
||||
pub(crate) mod coherence;
|
||||
pub mod const_evaluatable;
|
||||
mod dyn_compatibility;
|
||||
mod engine;
|
||||
mod fulfill;
|
||||
pub mod misc;
|
||||
pub mod normalize;
|
||||
mod object_safety;
|
||||
pub mod outlives_bounds;
|
||||
pub mod project;
|
||||
pub mod query;
|
||||
|
@ -43,13 +43,13 @@ pub use self::coherence::{
|
|||
InCrate, IsFirstInputType, OrphanCheckErr, OrphanCheckMode, OverlapResult, UncoveredTyParams,
|
||||
add_placeholder_note, orphan_check_trait_ref, overlapping_impls,
|
||||
};
|
||||
pub use self::dyn_compatibility::{
|
||||
DynCompatibilityViolation, dyn_compatibility_violations_for_assoc_item,
|
||||
hir_ty_lowering_dyn_compatibility_violations, is_vtable_safe_method,
|
||||
};
|
||||
pub use self::engine::{ObligationCtxt, TraitEngineExt};
|
||||
pub use self::fulfill::{FulfillmentContext, OldSolverError, PendingPredicateObligation};
|
||||
pub use self::normalize::NormalizeExt;
|
||||
pub use self::object_safety::{
|
||||
ObjectSafetyViolation, hir_ty_lowering_object_safety_violations, is_vtable_safe_method,
|
||||
object_safety_violations_for_assoc_item,
|
||||
};
|
||||
pub use self::project::{normalize_inherent_projection, normalize_projection_ty};
|
||||
pub use self::select::{
|
||||
EvaluationCache, EvaluationResult, IntercrateAmbiguityCause, OverflowError, SelectionCache,
|
||||
|
@ -593,7 +593,7 @@ fn is_impossible_associated_item(
|
|||
}
|
||||
|
||||
pub fn provide(providers: &mut Providers) {
|
||||
object_safety::provide(providers);
|
||||
dyn_compatibility::provide(providers);
|
||||
vtable::provide(providers);
|
||||
*providers = Providers {
|
||||
specialization_graph_of: specialize::specialization_graph_provider,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue