| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-18 | Auto merge of #77306 - lcnr:inline-ok, r=eddyb | bors | -4/+7 | |
| normalize substs while inlining fixes #68347 or more precisely, this fixes the same ICE in rust analyser as veloren is pinned to a specific nightly and had an error with the current one. I didn't look into creating an MVCE here as that seems fairly annoying, will spend a few minutes doing so rn. (failed) r? `@eddyb` cc `@bjorn3` | ||||
| 2020-10-16 | Review comments | Jack Huey | -13/+12 | |
| 2020-10-16 | map_bound_ref -> rebind | Jack Huey | -37/+32 | |
| 2020-10-16 | Use map_bound(_ref) instead of Binder::bind when possible | Jack Huey | -40/+60 | |
| 2020-10-15 | Turn Outcome into an opaque type to remove some runtime checks | Dániel Buga | -6/+4 | |
| 2020-10-15 | Auto merge of #77873 - sexxi-goose:use_tuple_inference_for_closures, ↵ | bors | -9/+53 | |
| r=nikomatsakis Replace tuple of infer vars for upvar_tys with single infer var This commit allows us to decide the number of captures required after completing capture ananysis, which is required as part of implementing RFC-2229. closes https://github.com/rust-lang/project-rfc-2229/issues/4 r? `@nikomatsakis` | ||||
| 2020-10-14 | Address comments | Roxane | -26/+14 | |
| 2020-10-14 | Remove unused code from remaining compiler crates | est31 | -4/+0 | |
| 2020-10-13 | Replace absolute paths with relative ones | est31 | -6/+7 | |
| Modern compilers allow reaching external crates like std or core via relative paths in modules outside of lib.rs and main.rs. | ||||
| 2020-10-12 | Auto merge of #77792 - matthewjasper:instrument-trait-selection, r=oli-obk | bors | -290/+166 | |
| Use tracing spans in rustc_trait_selection Spans are very helpful when debugging this code. It's also hot enough to make a good benchmark. r? `@oli-obk` | ||||
| 2020-10-13 | Rollup merge of #77550 - lcnr:ty-dep-path-ct-cleanup, r=ecstatic-morse | Yuki Okushi | -12/+2 | |
| add shims for WithOptConstParam query calls r? @ecstatic-morse @eddyb | ||||
| 2020-10-11 | Use tracing spans in rustc_trait_selection | Matthew Jasper | -290/+166 | |
| 2020-10-11 | traits diagnostics: Don't print closure/generator upvar_tys tuple | Aman Arora | -1/+23 | |
| Co-authored-by: Roxane Fruytier <roxane.fruytier@hotmail.com> | ||||
| 2020-10-11 | Always return tupled_upvar_tys for Closure/Generator consituent tys | Aman Arora | -20/+4 | |
| Depending on if upvar_tys inferred or not, we were returning either an inference variable which later resolves to a tuple or else the upvar tys themselves Co-authored-by: Roxane Fruytier <roxane.fruytier@hotmail.com> | ||||
| 2020-10-11 | Replace tuple of infer vars for upvar_tys with single infer var | Roxane | -21/+71 | |
| This commit allows us to decide the number of captures required after completing capture ananysis, which is required as part of implementing RFC-2229. Co-authored-by: Aman Arora <me@aman-arora.com> Co-authored-by: Jenny Wills <wills.jenniferg@gmail.com> | ||||
| 2020-10-09 | Add find_map_relevant_impl | Dániel Buga | -9/+3 | |
| 2020-10-07 | normalize substs during inlining | Bastian Kauschke | -3/+6 | |
| 2020-10-07 | normalize in codegen_fulfill_obligations | Bastian Kauschke | -4/+4 | |
| 2020-10-06 | Fix tests from rebase | Matthew Jasper | -17/+18 | |
| 2020-10-06 | Fix rebase | Matthew Jasper | -4/+4 | |
| 2020-10-06 | Deduplicate item bounds after normalization | Matthew Jasper | -17/+40 | |
| 2020-10-06 | Don't require lifetime super-bounds on traits apply to trait objects of that ↵ | Matthew Jasper | -14/+17 | |
| trait | ||||
| 2020-10-06 | Normalize super trait bounds when confirming object candidates | Matthew Jasper | -9/+20 | |
| 2020-10-06 | Fix rebase | Matthew Jasper | -71/+5 | |
| 2020-10-06 | Fix bootstrap | Matthew Jasper | -2/+4 | |
| 2020-10-06 | Handle multiple trait-def projection candidates | Matthew Jasper | -0/+7 | |
| 2020-10-06 | Avoid cycles from projection bounds | Matthew Jasper | -19/+56 | |
| Only check the own predicates of associated types when confirming projection candidates. Also consider implied bounds when comparing trait and impl methods. | ||||
| 2020-10-06 | Avoid cycle with projections from object types | Matthew Jasper | -267/+120 | |
| Normalizing `<dyn Iterator<Item = ()> as Iterator>::Item` no longer requires selecting `dyn Iterator<Item = ()>: Iterator`. This was previously worked around by using a special type-folder to normalize things. | ||||
| 2020-10-06 | Normalize projection bounds when considering candidates | Matthew Jasper | -157/+270 | |
| This unfortunately requires some winnowing hacks to avoid now ambiguous candidates. | ||||
| 2020-10-06 | Handle multiple applicable projection candidates | Matthew Jasper | -33/+54 | |
| 2020-10-06 | Fix bugs in evaluating WellFormed predicates | Matthew Jasper | -39/+74 | |
| - List the nestsed obligations in an order that works with the single pass used by evaluation - Propagate recursion depth correctly | ||||
| 2020-10-06 | Avoid cycle in nested obligations for object candidate | Matthew Jasper | -52/+175 | |
| Bounds of the form `type Future: Future<Result=Self::Result>` exist in some ecosystem crates. To validate these bounds for trait objects we need to normalize `Self::Result` in a way that doesn't cause a cycle. | ||||
| 2020-10-06 | Address review comments | Matthew Jasper | -4/+37 | |
| 2020-10-06 | Fix ICE | Matthew Jasper | -4/+5 | |
| 2020-10-06 | Fix tests and bootstrap | Matthew Jasper | -8/+16 | |
| 2020-10-06 | Ensure that associated types for trait objects satisfy their bounds | Matthew Jasper | -13/+51 | |
| 2020-10-06 | Move some code from rustc_typeck to rustc_trait_selection | Matthew Jasper | -0/+56 | |
| 2020-10-06 | Remove unused part of return value from `replace_bound_vars_with_placeholders` | Matthew Jasper | -6/+6 | |
| 2020-10-06 | Check associated type bounds for object safety violations | Matthew Jasper | -39/+62 | |
| 2020-10-06 | Check opaque types satisfy their bounds | Matthew Jasper | -1/+2 | |
| 2020-10-06 | Check projections are well-formed when using projection candidates | Matthew Jasper | -26/+43 | |
| 2020-10-06 | Make projection wf check the predicates for the projection | Matthew Jasper | -11/+25 | |
| 2020-10-06 | Split bounds from predicates | Matthew Jasper | -13/+14 | |
| 2020-10-06 | Rename projection_predicates to item_bounds | Matthew Jasper | -8/+4 | |
| 2020-10-06 | Rollup merge of #77559 - camelid:fix-rustdoc-warnings-invalid-rust-syntax, ↵ | Yuki Okushi | -3/+3 | |
| r=lcnr Fix rustdoc warnings about invalid Rust syntax | ||||
| 2020-10-05 | Fixup | Camelid | -4/+1 | |
| 2020-10-05 | Auto merge of #77171 - VFLashM:better_sso_structures, r=oli-obk | bors | -3/+3 | |
| Better sso structures This change greatly expands interface of MiniSet/MiniMap and renames them because they are no longer "Mini". | ||||
| 2020-10-05 | query_name_of_opt_const_arg -> query_name_opt_const_arg | Bastian Kauschke | -2/+2 | |
| 2020-10-04 | Fix rustdoc warnings about invalid Rust syntax | Camelid | -2/+5 | |
| 2020-10-05 | Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank | Dylan DPC | -2/+3 | |
| Replace some once(x).chain(once(y)) with [x, y] IntoIter Now that we have by-value array iterators that are [already used](https://github.com/rust-lang/rust/blob/25c8c53dd994acb3f4f7c02fe6bb46076393f8b0/compiler/rustc_hir/src/def.rs#L305-L307)... For example, ```diff - once(self.type_ns).chain(once(self.value_ns)).chain(once(self.macro_ns)).filter_map(|it| it) + IntoIter::new([self.type_ns, self.value_ns, self.macro_ns]).filter_map(|it| it) ``` | ||||
