| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-31 | Move from `log` to `tracing` | Oliver Scherer | -1/+1 | |
| 2020-07-29 | handle ConstEquate in rustdoc | Bastian Kauschke | -0/+32 | |
| 2020-07-27 | Auto merge of #73503 - lcnr:forall-predicate-what-and-why-2, r=nikomatsakis | bors | -427/+461 | |
| convert higher ranked `Predicate`s to `PredicateKind::ForAll` implements step 2 of https://github.com/rust-lang/compiler-team/issues/285 r? @nikomatsakis | ||||
| 2020-07-27 | cleanup | Bastian Kauschke | -1/+1 | |
| 2020-07-27 | it works again :tada: | Bastian Kauschke | -34/+33 | |
| 2020-07-27 | fix rebase | Bastian Kauschke | -23/+25 | |
| 2020-07-27 | directly contain `PredicateAtom` in `PredicateKind::ForAll` | Bastian Kauschke | -36/+32 | |
| 2020-07-27 | introduce PredicateAtom | Bastian Kauschke | -322/+297 | |
| 2020-07-27 | add reuse_or_mk_predicate | Bastian Kauschke | -1/+1 | |
| 2020-07-27 | this might be unqualified, but at least it's now quantified | Bastian Kauschke | -24/+24 | |
| 2020-07-27 | split ignore_qualifiers | Bastian Kauschke | -34/+34 | |
| 2020-07-27 | review | Bastian Kauschke | -19/+11 | |
| 2020-07-27 | fix elaborate for predicates with unbound variables | Bastian Kauschke | -1/+1 | |
| 2020-07-27 | `PredicateKint` -> `PredicateKind`, the beginning of the end | Bastian Kauschke | -162/+200 | |
| 2020-07-27 | elaborate | Bastian Kauschke | -5/+3 | |
| 2020-07-27 | somewhat related cleanup | Bastian Kauschke | -3/+3 | |
| 2020-07-27 | wf | Bastian Kauschke | -17/+19 | |
| 2020-07-27 | convert trivial predicates | Bastian Kauschke | -2/+2 | |
| 2020-07-27 | Handle trait/projection predicates with bound regions correctly | Matthew Jasper | -69/+131 | |
| 2020-07-27 | minimal | Bastian Kauschke | -69/+39 | |
| 2020-07-27 | More ensure stack to avoid segfault with increased `recursion_limit` | Yuki Okushi | -18/+28 | |
| 2020-07-25 | Use the proper span when WF-checking an impl self type | Aaron Hill | -4/+12 | |
| 2020-07-22 | Use `ty::Instance::resolve` to identify `'static` bound source | Esteban Küber | -1/+14 | |
| 2020-07-22 | Increase accuracy of lifetime bound on trait object impl suggestion | Esteban Küber | -0/+1 | |
| 2020-07-22 | Rollup merge of #74454 - lcnr:negative-impls, r=nikomatsakis | Manish Goregaokar | -52/+47 | |
| small coherence cleanup r? @eddyb | ||||
| 2020-07-20 | update coherence docs | Bastian Kauschke | -7/+7 | |
| 2020-07-20 | review | Bastian Kauschke | -1/+10 | |
| 2020-07-20 | trait_sel: only test predicates w/ no substs | David Wood | -15/+15 | |
| This commit modifies the `substitute_normalize_and_test_predicates` query, renaming it to `impossible_predicates` and only checking predicates which do not require substs. By making this change, polymorphization doesn't have to explicitly support vtables. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-07-17 | refactor ty_is_non_local | Bastian Kauschke | -15/+18 | |
| 2020-07-17 | cleanup ty_is_~non~_local_constructor | Bastian Kauschke | -38/+21 | |
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -27/+27 | |
| 2020-07-17 | Remove some `Symbol:as_str()` calls. | Nicholas Nethercote | -2/+2 | |
| 2020-07-16 | Rename `sym::item_context` as `sym::ItemContext`. | Nicholas Nethercote | -4/+4 | |
| Because it represents the symbol `ItemContext`, and `sym` identifiers are supposed to match the actual symbol whenever possible. | ||||
| 2020-07-15 | Rollup merge of #74344 - estebank:stringly-wobbly, r=eddyb | Manish Goregaokar | -7/+11 | |
| Remove string comparison and use diagnostic item instead r? @eddyb | ||||
| 2020-07-15 | Rollup merge of #74276 - lcnr:discriminant-kind-what, r=nagisa | Manish Goregaokar | -15/+5 | |
| improve DiscriminantKind handling Adds a lang item `discriminant_type` for the associated type `DiscriminantKind::Discriminant`. Changes the discriminant of generators from `i32` to `u32`, which should not be observable to fix an oversight where MIR was using `u32` and codegen and typeck used `i32`. | ||||
| 2020-07-15 | const_eval_resolve | Bastian Kauschke | -5/+5 | |
| 2020-07-15 | ConstKind::Unevaluated | Bastian Kauschke | -7/+7 | |
| 2020-07-15 | improve DiscriminantKind handling | Bastian Kauschke | -15/+5 | |
| This now reuses `fn discriminant_ty` in project, removing some code duplication. Doing so made me realize that we previously had a disagreement about the discriminant type of generators, with MIR using `u32` and codegen and trait selection using `i32`. We now always use `u32`. | ||||
| 2020-07-15 | Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obk | bors | -2/+6 | |
| More static symbols These commits add some more static symbols and convert lots of places to use them. r? @oli-obk | ||||
| 2020-07-14 | Remove string comparison and use diagnostic item instead | Esteban Küber | -7/+11 | |
| 2020-07-15 | Add and use more static symbols. | Nicholas Nethercote | -2/+6 | |
| Note that the output of `unpretty-debug.stdout` has changed. In that test the hash values are normalized from a symbol numbers to small numbers like "0#0" and "0#1". The increase in the number of static symbols must have caused the original numbers to contain more digits, resulting in different pretty-printing prior to normalization. | ||||
| 2020-07-14 | Reword message | Esteban Küber | -1/+2 | |
| 2020-07-14 | Remove redundant explanatory `note` for type parameters | Esteban Küber | -1/+6 | |
| 2020-07-14 | Suggest borrowing in more unsized fn param cases | Esteban Küber | -35/+31 | |
| 2020-07-14 | Suggest boxing or borrowing unsized fields | Esteban Küber | -18/+35 | |
| 2020-07-14 | Suggest borrowing unsized argument types | Esteban Küber | -3/+15 | |
| 2020-07-10 | Avoid "whitelist" | Tamir Duberstein | -1/+1 | |
| Other terms are more inclusive and precise. | ||||
| 2020-07-09 | Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakis | Manish Goregaokar | -3/+3 | |
| Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. In order to work around normalization-under-HRTB (for `provide!` in `rustc_metadata`), we ended up with this: ```rust struct Providers<'tcx> { type_of: fn(TyCtxt<'tcx>, DefId) -> Ty<'tcx>, // ... } ``` But what I initially wanted to do, IIRC, was this: ```rust struct Providers { type_of: for<'tcx> fn(TyCtxt<'tcx>, DefId) -> Ty<'tcx>, // ... } ``` This PR moves to the latter, for the simple reason that only the latter allows keeping a `Providers` value, or a subset of its `fn` pointer fields, around in a `static` or `thread_local!`, which can be really useful for custom drivers that override queries. (@jyn514 and I came across a concrete usecase of that in `rustdoc`) The `provide!` macro in `rustc_metadata` is fixed by making the query key/value types available as type aliases under `ty::query::query_{keys,values}`, not just associated types (this is the first commit). r? @nikomatsakis | ||||
| 2020-07-06 | Auto merge of #73978 - Mark-Simulacrum:shrink-paramenv, r=nnethercote | bors | -22/+27 | |
| Shrink ParamEnv to 16 bytes r? @nnethercote x.py check passes but I haven't tried running perf or tests | ||||
| 2020-07-05 | Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. | Eduard-Mihai Burtescu | -3/+3 | |
