-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
980: WIP: Iterator tracking issues r=Aurel300 a=vl0w Some (smaller / bigger) changes needed to enable iterator support (WIP / tracking PR) - Moved normalization of constraint param env (for assoc types) for better logging - Fixed a bug in `SpecGraph`: Preconditions of the base spec were copied to the constrained spec - Ghost constraint resolving is a bit relaxed (`predicate_may_hold` instead of `predicate_must_hold_considering_regions`) to account for references in associated types. See test `associated_types_6.rs` - `merge_generics` now also merges lifetimes to accout for lifetimes appearing in `#[refine_trait_spec]` - Lifetimes in type models are not converted to the anonymous lifetime `'_` anymore - Do not `#[derive(Copy, Clone]` on type models, because the derive macro "conditionally" implements it when generics are involved. That is, `#[derive(Copy)] struct Foo<T>` adds `impl<T: Copy> Copy for Foo {}`, but we do not want to implement `Copy` only if `T` is `Copy`. - Quantified variables now support associated types: `forall(|x: Self::SomeAssocType| ...)` Co-authored-by: Jonas Hansen <[email protected]>
- Loading branch information
Showing
18 changed files
with
1,025 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.