| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-11-02 | Address some code reviews | Yuki Okushi | -94/+85 | |
| 2020-11-02 | Separate complex multispan into some notes | Yuki Okushi | -29/+114 | |
| 2020-10-30 | Remove implicit `Continue` type | LeSeulArtichaut | -8/+8 | |
| 2020-10-30 | Use `ControlFlow::is{break,continue}` | LeSeulArtichaut | -3/+4 | |
| 2020-10-30 | TypeVisitor: use `ControlFlow` in rustc_{infer,lint,trait_selection} | LeSeulArtichaut | -60/+67 | |
| 2020-10-29 | Rollup merge of #78422 - estebank:fix-78372, r=pnkfelix | Jonas Schievink | -7/+13 | |
| Do not ICE on invalid input Fix #78372. | ||||
| 2020-10-28 | Rollup merge of #78365 - lcnr:const-eval-obj-safety, r=oli-obk | Dylan DPC | -47/+99 | |
| check object safety of generic constants As `Self` can only be effectively used in constants with `const_evaluatable_checked` this should not matter outside of it. Implements the first item of #72219 > Object safety interactions with constants r? @oli-obk for now cc @nikomatsakis | ||||
| 2020-10-27 | Add unsized_fn_params feature | Santiago Pastorino | -2/+2 | |
| 2020-10-26 | Do not ICE on invalid input | Esteban Küber | -7/+13 | |
| 2020-10-26 | debug log `AbstractConst::new` | Bastian Kauschke | -0/+1 | |
| 2020-10-26 | Rollup merge of #78214 - estebank:match-semicolon, r=oli-obk | Dylan DPC | -5/+5 | |
| Tweak match arm semicolon removal suggestion to account for futures * Tweak and extend "use `.await`" suggestions * Suggest removal of semicolon on prior match arm * Account for `impl Future` when suggesting semicolon removal * Silence some errors when encountering `await foo()?` as can't be certain what the intent was *Thanks to https://twitter.com/a_hoverbear/status/1318960787105353728 for pointing this out!* | ||||
| 2020-10-25 | check for object safety violations in constants | Bastian Kauschke | -47/+98 | |
| 2020-10-24 | Rollup merge of #78272 - lcnr:abstract-const-unused-node, r=oli-obk | Jonas Schievink | -21/+64 | |
| const_evaluatable_checked: deal with unused nodes + div r? @oli-obk | ||||
| 2020-10-23 | review comments | Esteban Küber | -14/+10 | |
| 2020-10-23 | Do not ICE with TraitPredicates containing [type error] | Esteban Küber | -6/+13 | |
| Fix #77919. | ||||
| 2020-10-23 | Tweak "use `.await`" suggestion | Esteban Küber | -5/+5 | |
| 2020-10-23 | review | Bastian Kauschke | -32/+36 | |
| 2020-10-23 | const_eval_checked: deal with unused nodes + div | Bastian Kauschke | -12/+51 | |
| 2020-10-22 | Normalize when finding trait object candidates | Matthew Jasper | -65/+66 | |
| 2020-10-21 | Fix ICE from projection cycle | Matthew Jasper | -20/+9 | |
| Cycles in normalization can cause evaluations to change from Unknown to Err. This means that some selection that were applicable no longer are. To avoid this: * Selection candidates that are known to be applicable are prefered over candidates that are not. * We don't ICE if a candidate is no longer applicable. | ||||
| 2020-10-21 | Rollup merge of #78002 - estebank:issue-77598, r=oli-obk | Yuki Okushi | -48/+63 | |
| Tweak "object unsafe" errors CC #77598. | ||||
| 2020-10-20 | Rollup merge of #78076 - est31:orphan_mod, r=Mark-Simulacrum | Guillaume Gomez | -0/+0 | |
| Move orphan module-name/mod.rs files into module-name.rs files | ||||
| 2020-10-20 | review comments | Esteban Küber | -45/+46 | |
| 2020-10-20 | Tweak "object unsafe" errors | Esteban Küber | -28/+42 | |
| Fix #77598. | ||||
| 2020-10-20 | Rollup merge of #78111 - SNCPlay42:not-always-self, r=lcnr | Yuki Okushi | -15/+15 | |
| Trait predicate ambiguities are not always in `Self` When reporting ambiguities in trait predicates, the compiler incorrectly assumed the ambiguity was always in the type the trait should be implemented on, and never the generic parameters of the trait. This caused silly suggestions for predicates like `<KnownType as Trait<_>>`, such as giving explicit types to completely unrelated variables that happened to be of type `KnownType`. This also reverts #73027, which worked around this issue in some cases and does not appear to be necessary any more. fixes #77982 fixes #78055 | ||||
| 2020-10-19 | don't assume trait ambiguity happens in `Self` | SNCPlay42 | -15/+15 | |
| 2020-10-19 | Auto merge of #77908 - bugadani:obl-forest, r=nnethercote | bors | -6/+4 | |
| Try to make ObligationForest more efficient This PR tries to decrease the number of allocations in ObligationForest, as well as moves some cold path code to an uninlined function. | ||||
| 2020-10-18 | Move orphan module-name/mod.rs files into module-name.rs files | est31 | -0/+0 | |
| 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/+49 | |
| 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 | 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 | -9/+43 | |
| 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 | |
