| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -520/+0 | |
| 2020-08-13 | merge `as_local_hir_id` with `local_def_id_to_hir_id` | Bastian Kauschke | -5/+5 | |
| 2020-08-08 | fix clippy::into_iter_on_ref: use .iter() instead of into_iter() on references. | Matthias Krüger | -1/+1 | |
| 2020-07-31 | Auto merge of #65989 - Aaron1011:fix/normalize-param-env, r=nikomatsakis | bors | -0/+5 | |
| Normalize all opaque types when converting ParamEnv to Reveal::All When we normalize a type using a ParamEnv with a reveal mode of RevealMode::All, we will normalize opaque types to their underlying types (e.g. `type MyOpaque = impl Foo` -> `StructThatImplsFoo`). However, the ParamEnv may still have predicates referring to the un-normalized opaque type (e.g. `<T as MyTrait<MyOpaque>>`). This can cause trait projection to fail, since a type containing normalized opaque types will not match up with the un-normalized type in the `ParamEnv`. To fix this, we now explicitly normalize all opaque types in caller_bounds of a `ParamEnv` when changing its mode to `RevealMode::All`. This ensures that all predicatse will refer to the underlying types of any opaque types involved, allowing them to be matched up properly during projection. To reflect the fact that normalization is occuring, `ParamEnv::with_reveal_all` is renamed to `ParamEnv::with_reveal_all_normalized` Fixes #65918 | ||||
| 2020-07-27 | introduce PredicateAtom | Bastian Kauschke | -9/+9 | |
| 2020-07-27 | this might be unqualified, but at least it's now quantified | Bastian Kauschke | -2/+2 | |
| 2020-07-27 | split ignore_qualifiers | Bastian Kauschke | -9/+8 | |
| 2020-07-22 | Normalize opaque types when converting `ParamEnv` to `Reveal::All` | Aaron Hill | -0/+5 | |
| Fixes #65918 | ||||
| 2020-07-05 | Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-06-20 | Move bounds on associated types to the type | Matthew Jasper | -15/+42 | |
| Given `trait X { type U; }` the bound `<Self as X>::U` now lives on the type, rather than the trait. This is feature gated on `feature(generic_associated_types)` for now until more testing can be done. The also enabled type-generic associated types since we no longer need "implies bounds". | ||||
| 2020-06-20 | Consider fewer predicates for projection candidates | Matthew Jasper | -1/+104 | |
| We now require that projection candidates are applicable with the idenitity substs of the trait, rather than allowing predicates that are only applicable for certain substs. | ||||
| 2020-06-15 | make all uses of ty::Error or ConstKind::Error delay a span bug | mark | -1/+1 | |
| 2020-06-11 | Remove associated opaque types | Matthew Jasper | -2/+0 | |
| They're unused now. | ||||
| 2020-05-20 | make `to_predicate` take a `tcx` argument | Niko Matsakis | -1/+1 | |
| 2020-05-12 | Remove ty::UnnormalizedProjection | Jack Huey | -2/+0 | |
| 2020-05-07 | Reintegrate chalk using chalk-solve | Jack Huey | -2/+5 | |
| 2020-05-02 | fix rustdoc warnings | Tshepang Lekhonkhobe | -1/+1 | |
| 2020-04-28 | Move a few queries to using an arena. | Camille GILLOT | -1/+1 | |
| 2020-04-28 | Use the query system to allocate. | Camille GILLOT | -2/+2 | |
| 2020-04-23 | Modify `as_local_hir_id` to return a bare `HirId` | marmeladema | -5/+5 | |
| 2020-04-23 | Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId` | marmeladema | -10/+10 | |
| 2020-04-23 | librustc_middle: return LocalDefId instead of DefId in local_def_id | marmeladema | -9/+9 | |
| 2020-04-14 | Auto merge of #70643 - Rustin-Liu:rustin-patch-rename, r=eddyb | bors | -4/+4 | |
| Rename AssocKind::Method to AssocKind::Fn Part of https://github.com/rust-lang/rust/issues/60163. https://github.com/rust-lang/rust/issues/60163#issuecomment-607284413 | ||||
| 2020-04-14 | Rename AssocKind::Method to AssocKind::Fn | Rustin-Liu | -4/+4 | |
| Rename fn_has_self_argument to fn_has_self_parameter Rename AssocItemKind::Method to AssocItemKind::Fn Refine has_no_input_arg Refine has_no_input_arg Revert has_no_input_arg Refine suggestion_descr Move as_def_kind into AssocKind Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> Fix tidy check issue Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> | ||||
| 2020-04-13 | Use `CRATE_HIR_ID` instead of `DUMMY_HIR_ID` when appropriate. | marmeladema | -1/+1 | |
| Those usage ends up forwarded to a `ObligationClause` which uses `CRATE_HIR_ID` for dummy value as seen in `ObligationClause::dummy`. | ||||
| 2020-03-30 | Use query instead of `impl_is_default` fn | Jonas Schievink | -0/+11 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-16 | use direct imports for `rustc::{lint, session}`. | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-14 | Index HIR after creating TyCtxt | John Kåre Alsaker | -2/+1 | |
| 2020-03-14 | Make downstream crates compile. | Camille GILLOT | -1/+1 | |
| 2020-03-12 | remove lifetimes that can be elided (clippy::needless_lifetimes) | Matthias Krüger | -1/+1 | |
| 2020-03-02 | Remove chalk integration | CAD97 | -5/+2 | |
| 2020-02-19 | Construct `AssociatedItems` from an iterator instead of a `Vec` | Dylan MacKenzie | -2/+1 | |
| 2020-02-19 | Make lookup of associated item by name O(log n) | Dylan MacKenzie | -4/+4 | |
| 2020-02-16 | Other crates. | Camille GILLOT | -1/+1 | |
| 2020-02-12 | Auto merge of #68679 - matthewjasper:needs-type-op, r=varkor | bors | -1/+5 | |
| Improve `ty.needs_drop` * Handle cycles in `needs_drop` correctly * Normalize types when computing `needs_drop` * Move queries from rustc to rustc_ty * Avoid query in simple cases reopens #65918 | ||||
| 2020-02-08 | Make `associated_items` query return a slice | Jonas Schievink | -6/+4 | |
| 2020-02-06 | Rollup merge of #68837 - jonas-schievink:assoc-item-lookup-2, r=estebank | Dylan DPC | -0/+9 | |
| Make associated item collection a query Before this change, every time associated items were iterated over (which rustc does *a lot* – this can probably be further optimized), there would be N+1 queries to fetch all assoc. items. Now there's just one after they've been computed once. | ||||
| 2020-02-05 | Make associated item lookup a query | Jonas Schievink | -0/+9 | |
| 2020-02-02 | Remove unnecessary features in rustc_ty | Matthew Jasper | -1/+5 | |
| 2020-02-02 | Use more accurate failed predicate spans | Esteban Küber | -1/+1 | |
| 2020-01-27 | don't clone types that are copy, round two. | Matthias Krüger | -1/+1 | |
| 2020-01-20 | Add `ConstnessAnd` that implements `ToPredicate` | Dylan MacKenzie | -1/+2 | |
| 2020-01-17 | Use named fields for `hir::ItemKind::Impl` | Dylan MacKenzie | -4/+4 | |
| 2020-01-13 | Move to new crate rustc_ty. | Camille GILLOT | -0/+369 | |
