| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-01 | Rollup merge of #70081 - lcnr:issue68387, r=varkor | Dylan DPC | -3/+36 | |
| add `unused_braces` lint Add the lint `unused_braces` which is warn by default. `unused_parens` is also extended and now checks anon consts. closes #68387 r? @varkor | ||||
| 2020-03-31 | add tests for `unused_braces` | Bastian Kauschke | -0/+33 | |
| 2020-03-31 | update tests | Bastian Kauschke | -3/+3 | |
| 2020-03-30 | infer arr len from pattern | Bastian Kauschke | -0/+56 | |
| 2020-03-29 | Auto merge of #70009 - estebank:sugg-bound, r=Centril | bors | -10/+8 | |
| Tweak `suggest_constraining_type_param` Some of the bound restriction structured suggestions were incorrect while others had subpar output. The only issue left is a suggestion for an already present bound when dealing with `const`s that should be handled independently. Fix #69983. | ||||
| 2020-03-29 | Tweak `suggest_constraining_type_param` | Esteban Küber | -10/+8 | |
| Some of the bound restriction structured suggestions were incorrect while others had subpar output. | ||||
| 2020-03-29 | add a build-pass test for issue 62220 | Dodo | -0/+22 | |
| 2020-03-29 | Rollup merge of #68692 - jyn514:vec-from-array, r=LukasKalbertodt | Mazdak Farrokhzad | -7/+25 | |
| impl From<[T; N]> for Vec<T> Closes https://github.com/rust-lang/rust/issues/67963 | ||||
| 2020-03-24 | Remove attribute `#[structural_match]` and any references to it | Vadim Petrochenkov | -1/+1 | |
| 2020-03-24 | Rollup merge of #70284 - lcnr:issue70273-what-the-heck-git, r=eddyb | Mazdak Farrokhzad | -0/+54 | |
| correctly handle const params in type_of extends #70223, retry of #70276 fixes #70273 r? @eddyb cc @varkor | ||||
| 2020-03-24 | Rollup merge of #70283 - CDirkx:regression-test-70155, r=oli-obk | Mazdak Farrokhzad | -0/+30 | |
| Add regression test for #70155. With #70166 merged, `RangeInclusive` now derives `PartialEq` and `Eq`, implementing structural equality and as a side effect the range is now usable with const generics, closing #70155. As per [#70166 (comment)](https://github.com/rust-lang/rust/pull/70166#issuecomment-601872201) a test is added to avoid a change to the private fields or the equality implementation of the range from subtly reverting #70155. | ||||
| 2020-03-24 | Rollup merge of #69981 - oli-obk:const_blocks, r=eddyb | Mazdak Farrokhzad | -56/+41 | |
| Evaluate repeat expression lengths as late as possible Fixes #68567 r? @varkor | ||||
| 2020-03-23 | Merge tests. | CDirkx | -68/+30 | |
| Merge tests to a single test file. | ||||
| 2020-03-23 | Add const generics test for all range types. | CDirkx | -2/+58 | |
| In addition to the regression test of `RangeInclusive` for #70155, now all range types are checked for usability within const generics: - `RangeFrom` - `RangeFull` - `RangeToInclusive` - `RangeTo` - `Range` The test are moved from `test\ui\const-generics\issues\issue-70155` to `test\ui\const-generics\std\range` in anticipation of future similar tests for std types. | ||||
| 2020-03-23 | Evaluate repeat expression lengths as late as possible | Oliver Scherer | -56/+41 | |
| 2020-03-23 | Reword unused variable warning | Alex Tokarev | -1/+1 | |
| 2020-03-23 | Rollup merge of #70249 - lcnr:issue70125, r=eddyb | Mazdak Farrokhzad | -0/+51 | |
| handle ConstKind::Unresolved after monomorphizing fixes #70125 r? @bjorn3 | ||||
| 2020-03-22 | correctly handle const params in type_of | Bastian Kauschke | -0/+54 | |
| 2020-03-22 | Add regression test for #70155. | CDirkx | -0/+12 | |
| With #70166 merged, `RangeInclusive` now derives `PartialEq` and `Eq`, implementing structural equality and as a side effect the range is now usable with const generics, closing #70155. A test is added to avoid a change to the private fields or the equality implementation of the range from subtly reverting #70155. | ||||
| 2020-03-22 | Rollup merge of #70223 - lcnr:issue70167, r=eddyb | Dylan DPC | -0/+38 | |
| fix type of const params in associated types. fixes #66906 fixes #70167 r? @eddyb | ||||
| 2020-03-22 | rename tests | Bastian Kauschke | -2/+2 | |
| 2020-03-22 | handle unevaluated consts after monomophize | Bastian Kauschke | -0/+51 | |
| 2020-03-21 | fix type of const params in associated types. | Bastian Kauschke | -0/+38 | |
| 2020-03-21 | Rollup merge of #70032 - lcnr:issue69970, r=varkor | Dylan DPC | -0/+25 | |
| put type params in front of const params in generics_of fixes #69970 r? @varkor | ||||
| 2020-03-19 | sort generic param order in generics_of | Bastian Kauschke | -0/+25 | |
| 2020-03-16 | Auto merge of #67133 - oli-obk:it_must_be_a_sign, r=eddyb | bors | -15/+15 | |
| Deduplicate pretty printing of constants r? @eddyb for the pretty printing logic cc @RalfJung | ||||
| 2020-03-13 | Add test for issue-67739 | Yuki Okushi | -0/+26 | |
| 2020-03-13 | Add test for issue-62504 | Yuki Okushi | -0/+33 | |
| 2020-03-12 | Remove fn special casing in const printing | Oliver Scherer | -1/+1 | |
| 2020-03-11 | Don't print literal type suffixes if `print_ty` is false | Oliver Scherer | -1/+1 | |
| 2020-03-11 | Print function pointer type for function pointer const generics | Oliver Scherer | -6/+6 | |
| 2020-03-11 | Reduce special casing in the const pretty printer | Oliver Scherer | -3/+3 | |
| 2020-03-11 | Don't print leading zeros on hex dumps constants | Oliver Scherer | -11/+8 | |
| 2020-03-11 | Deduplicate and clean up pretty printing logic | Oliver Scherer | -5/+8 | |
| 2020-03-10 | bless UI tests | Joshua Nelson | -8/+17 | |
| 2020-03-10 | add ui-tests | Joshua Nelson | -0/+9 | |
| 2020-03-10 | fix #62456 | YI | -0/+25 | |
| 2020-03-02 | Remove chalk integration | CAD97 | -18/+0 | |
| 2020-03-01 | Fix use of `has_infer_types` | Matthew Jasper | -14/+14 | |
| * Add a new method `has_infer_types_or_consts` that's used instead most of the time, since there's generally no reason to only consider types. * Remove use of `has_closure_types`, because closures are no longer implicitly linked to the `InferCtxt`. | ||||
| 2020-02-22 | Add note regarding argument ordering | varkor | -8/+2 | |
| 2020-02-22 | Expand the documentation for E0747 | varkor | -10/+2 | |
| 2020-02-22 | Move generic arg / param validation to `create_substs_for_generic_args` | varkor | -2/+56 | |
| 2020-02-17 | Do not emit note suggesting to implement trait to foreign type | LeSeulArtichaut | -4/+0 | |
| Update tests Extend to other operations Refractor check in a separate function Fix more tests | ||||
| 2020-02-13 | ast_validation: tweak diagnostic output | Mazdak Farrokhzad | -3/+3 | |
| 2020-02-13 | Constness -> enum Const { Yes(Span), No } | Mazdak Farrokhzad | -1/+5 | |
| Same idea for `Unsafety` & use new span for better diagnostics. | ||||
| 2020-02-13 | Rollup merge of #67642 - Mark-Simulacrum:relax-bounds, r=Amanieu | Dylan DPC | -15/+5 | |
| Relax bounds on HashMap/HashSet These APIs changed from the old bound listed to the new bound (possibly empty): K: Hash + Eq -> K * new * with_capacity K: Eq + Hash, S: BuildHasher -> K, S * with_hasher * with_capacity_and_hasher * hasher K: Eq + Hash + Debug -> K: Debug S: BuildHasher -> S HashMap as Debug K: Eq + Hash -> K S: BuildHasher + Default -> S: Default HashMap as Default Resolves #44777. | ||||
| 2020-02-11 | Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPC | bors | -3/+3 | |
| Make issue references consistent Fixes https://github.com/rust-lang/rust/issues/62976 cc https://github.com/rust-lang/rust/pull/63008 r? @varkor because you reviewed the original pr | ||||
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -3/+3 | |
| 2020-02-07 | Merge branch 'master' of https://github.com/jwhite927/rust into E0637 | Josh White | -0/+3 | |
| 2020-02-07 | performed --bless of 15 ui tests affected | Josh White | -0/+1 | |
