rust/compiler/rustc_next_trait_solver/src
Jack Wrenn a122dde217 do not implement unsafe auto traits for types with unsafe fields
If a type has unsafe fields, its safety invariants are not simply
the conjunction of its field types' safety invariants. Consequently,
it's invalid to reason about the safety properties of these types
in a purely structural manner — i.e., the manner in which `auto`
traits are implemented.

Makes progress towards #132922.
2024-12-05 23:52:21 +00:00
..
solve do not implement unsafe auto traits for types with unsafe fields 2024-12-05 23:52:21 +00:00
canonicalizer.rs Remove associated type based effects logic 2024-10-24 09:46:36 +00:00
coherence.rs Shrink TyKind::FnPtr. 2024-08-09 14:33:25 +10:00
delegate.rs Consolidate type system const evaluation under traits::evaluate_const 2024-11-12 02:54:03 +00:00
lib.rs update bootstrap configs 2024-10-15 20:30:23 -07:00
resolve.rs Remove associated type based effects logic 2024-10-24 09:46:36 +00:00