| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-26 | Rollup merge of #70417 - rakshith-ravi:master, r=Centril | Mazdak Farrokhzad | -0/+36 | |
| parser: recover on `...` as a pattern, suggesting `..` Fixes #70388 My first PR to rust. So please let me know if I'm doing something wrong. | ||||
| 2020-03-26 | Rollup merge of #70411 - ogoffart:fix-62691, r=eddyb | Mazdak Farrokhzad | -0/+7 | |
| Fix for #62691: use the largest niche across all fields fixes #62691 (The second commit is a small optimization but it makes the code less pretty and i don't know if it is worth it.) | ||||
| 2020-03-26 | wip pacify the merciless ui tests | Niko Matsakis | -1/+1 | |
| 2020-03-26 | add test for negative specializes negative | Niko Matsakis | -0/+13 | |
| 2020-03-26 | move stderr file too | Niko Matsakis | -0/+0 | |
| 2020-03-26 | give the negative-impls-builtin test a more sensible name | Niko Matsakis | -0/+0 | |
| 2020-03-26 | comment the `typeck-negative-impls-builtin` test | Niko Matsakis | -0/+3 | |
| 2020-03-26 | move feature-gate-negative-impls test to traits/negative-impls | Niko Matsakis | -0/+0 | |
| 2020-03-26 | create a tracking issue and link to it | Niko Matsakis | -3/+3 | |
| 2020-03-26 | introduce `negative_impls` feature gate and document | Niko Matsakis | -96/+159 | |
| They used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits. | ||||
| 2020-03-26 | make a custom error for overlap with negative impls | Niko Matsakis | -107/+93 | |
| 2020-03-26 | permit negative impls for non-auto traits | Niko Matsakis | -74/+260 | |
| 2020-03-26 | Throw error when encountering `...` instead of `..` while destructing a pattern | Rakshith Ravi | -0/+36 | |
| Added tests and stderr output | ||||
| 2020-03-26 | Rollup merge of #70389 - Centril:borrowck-no-underscores, r=mark-i-m | Mazdak Farrokhzad | -41/+41 | |
| borrowck: prefer "value" over "`_`" in diagnostics Fixes https://github.com/rust-lang/rust/issues/67565. r? @pnkfelix @matthewjasper cc @mark-i-m | ||||
| 2020-03-26 | Rollup merge of #70386 - Centril:patty, r=estebank | Mazdak Farrokhzad | -0/+25 | |
| typeck: minor pattern typing improvements r? @estebank | ||||
| 2020-03-26 | Rollup merge of #69878 - estebank:chained-ops, r=Centril | Mazdak Farrokhzad | -114/+99 | |
| Tweak chained operators diagnostic Use more selective spans Improve suggestion output Be more selective when displaying suggestions Silence some knock-down type errors r? @Centril | ||||
| 2020-03-26 | typeck/pat: address review comments | Mazdak Farrokhzad | -5/+5 | |
| 2020-03-25 | Tweak chained operators diagnostic | Esteban Küber | -114/+99 | |
| Use more selective spans Improve suggestion output Be more selective when displaying suggestions Silence some knock-down type errors | ||||
| 2020-03-25 | Rollup merge of #69700 - anyska:layout-details-rename, r=oli-obk | Dylan DPC | -8/+8 | |
| Rename LayoutDetails to just Layout. | ||||
| 2020-03-25 | Fix for #62691: use the largest niche across all fields | Olivier Goffart | -0/+7 | |
| fixes #62691 | ||||
| 2020-03-25 | Rollup merge of #70352 - bishtpawan:doc/61137-add-long-error-code-e0710, ↵ | Dylan DPC | -0/+2 | |
| r=Dylan-DPC Add long error explanation for E0710 Add long explanation for the E0710 error code Part of #61137 r? @GuillaumeGomez | ||||
| 2020-03-25 | Rollup merge of #70319 - lcnr:issue63695, r=eddyb | Dylan DPC | -13/+26 | |
| correctly normalize constants closes #70317 implements https://github.com/rust-lang/rust/issues/70125#issuecomment-602133708 r? eddyb cc @varkor | ||||
| 2020-03-25 | run test only on 64bit | Bastian Kauschke | -0/+1 | |
| 2020-03-25 | Rename LayoutDetails to just Layout. | Ana-Maria Mihalache | -8/+8 | |
| 2020-03-25 | Auto merge of #70297 - nnethercote:clean-up-debugging-options, ↵ | bors | -25/+25 | |
| r=michaelwoerister Clean up debugging options I found various sub-optimal things when I was looking at option handling. | ||||
| 2020-03-25 | borrowck: prefer "value" over "`_`". | Mazdak Farrokhzad | -41/+41 | |
| 2020-03-25 | improve non-exhaustive struct pat error | Mazdak Farrokhzad | -0/+25 | |
| 2020-03-25 | update tool_lints | bishtpawan | -1/+1 | |
| 2020-03-25 | Rollup merge of #70376 - tmandry:issue-66312, r=Centril | Mazdak Farrokhzad | -0/+26 | |
| Add test for #66312 Closes #66312. This issue was fixed by #68884. r? @Zoxc | ||||
| 2020-03-25 | Rollup merge of #70369 - estebank:bad-placeholder-in-where, r=Centril | Mazdak Farrokhzad | -73/+59 | |
| Fix smaller issues with invalid placeholder type errors Follow up to #70294. - Fix placement of suggested generic param when bounds are present. - Reduce error duplication for invalid placeholder types in `fn` types. r? @Centril | ||||
| 2020-03-25 | Rollup merge of #70364 - petrochenkov:nofrustc, r=Centril | Mazdak Farrokhzad | -87/+69 | |
| resolve: Remove `rustc_attrs` as a standalone feature gate Now it only gates specific built-in attributes. So if you want to make a rustc attribute, make it a built-in (this was already the case in practice for some time). | ||||
| 2020-03-25 | Rollup merge of #70331 - jeremystucki:privacy, r=estebank | Mazdak Farrokhzad | -1/+1 | |
| Increase verbosity when using update syntax with private fields Resolves #70323 | ||||
| 2020-03-24 | Reduce error duplication for invalid placeholder types in fn types | Esteban Küber | -69/+55 | |
| 2020-03-24 | Add test for #66312 | Tyler Mandry | -0/+26 | |
| Closes #66312. This issue was fixed by #68884. | ||||
| 2020-03-24 | Rollup merge of #70368 - bjorn3:patch-2, r=jonas-schievink | Mazdak Farrokhzad | -0/+2 | |
| Mark hotplug_codegen_backend as ignore-stage1 Suggested by @eddyb in https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/do.20we.20really.20need.20stage2.2E.2E.3F/near/191659846. | ||||
| 2020-03-24 | Rollup merge of #70241 - RalfJung:global-mem, r=oli-obk | Mazdak Farrokhzad | -4/+48 | |
| Miri: move ModifiedStatic to ConstEval errors Also generally adjust terminology from "static" to "global" where appropriate (to avoid confusion with specifically `static` items). | ||||
| 2020-03-24 | Rollup merge of #70234 - anp:tracked-std-traits, r=Amanieu | Mazdak Farrokhzad | -0/+22 | |
| #[track_caller] on core::ops::{Index, IndexMut}. Applies the attribute to `core::ops::Index(Mut)` and enough std internals to cover the [functions listed in "tier 1" in the original RFC](https://github.com/rust-lang/rfcs/blob/master/text/2091-inline-semantic.md#survey-of-panicking-standard-functions). Split out from #69251 to allow separate assessment of perf impact. To my knowledge, this is the last piece of implementing RFC 2091. Tracking issue: https://github.com/rust-lang/rust/issues/47809 | ||||
| 2020-03-24 | Mark hotplug_codegen_backend as ignore-stage1 | bjorn3 | -0/+2 | |
| 2020-03-24 | resolve: Remove `rustc_attrs` as a standalone feature gate | Vadim Petrochenkov | -87/+69 | |
| Now it only gates specific built-in attributes | ||||
| 2020-03-24 | Fix placement of suggested generic param when bounds are present | Esteban Küber | -4/+4 | |
| 2020-03-24 | update mir opt test | Bastian Kauschke | -1/+1 | |
| 2020-03-24 | Auto merge of #70163 - nikic:llvm-10-preparation, r=cuviper | bors | -2/+2 | |
| Prepare for LLVM 10 upgrade This is #67759 minus the submodule update. * Fix two compatibility issues in the rustllvm wrapper. * Update data layout strings in tests. * Fix LLVM version comparison (this become a problem because the major version has two digits now). r? @cuviper | ||||
| 2020-03-24 | improve normalize cycle error | Bastian Kauschke | -12/+24 | |
| 2020-03-24 | Update tools_lints | bishtpawan | -0/+1 | |
| 2020-03-24 | Refactor changes | bishtpawan | -2/+0 | |
| 2020-03-24 | Add long error explanation for E0710 #61137 | bishtpawan | -0/+3 | |
| 2020-03-24 | bless you | Ralf Jung | -1/+1 | |
| 2020-03-24 | get back the more precise error message | Ralf Jung | -1/+1 | |
| 2020-03-24 | bless; add test for mutating a static | Ralf Jung | -4/+48 | |
| 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 | ||||
