| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-03-08 | Rollup merge of #58883 - estebank:unused-closure-arg, r=varkor | Pietro Albini | -1/+54 | |
| Suggest appropriate code for unused field when destructuring pattern Fix #56472. | ||||
| 2019-03-08 | Rollup merge of #58877 - estebank:macro-borrow, r=davidtwco | Pietro Albini | -3/+54 | |
| Suggest removal of `&` when borrowing macro and appropriate Fix #58815. | ||||
| 2019-03-08 | Rollup merge of #58861 - estebank:fix-negative-traits, r=petrochenkov | Pietro Albini | -24/+43 | |
| Expand where negative supertrait specific error is shown Fix #58857. r? @petrochenkov | ||||
| 2019-03-08 | Rollup merge of #58369 - nox:sync-hash-map-entry, r=Amanieu | Pietro Albini | -0/+11 | |
| Make the Entry API of HashMap<K, V> Sync and Send Fixes #45219 | ||||
| 2019-03-08 | Rollup merge of #58269 - taeguk:add-some-sources-to-rust-src-distribution, ↵ | Pietro Albini | -0/+2 | |
| r=Mark-Simulacrum Add librustc and libsyntax to rust-src distribution. Fixes #58268. | ||||
| 2019-03-08 | Rollup merge of #58204 - estebank:impl-trait-semi, r=zackmdavis | Pietro Albini | -12/+72 | |
| On return type `impl Trait` for block with no expr point at last semi Partial solution, doesn't actually validate that the last statement in the function body can satisfy the trait bound, but it's a good incremental improvement over the status quo. ``` error[E0277]: the trait bound `(): Bar` is not satisfied --> $DIR/impl-trait-return-trailing-semicolon.rs:3:13 | LL | fn foo() -> impl Bar { | ^^^^^^^^ the trait `Bar` is not implemented for `()` LL | 5; | - consider removing this semicolon | = note: the return type of a function must have a statically known size ``` Partially addresses #54771. | ||||
| 2019-03-08 | Rollup merge of #58080 - MikaelUrankar:freebsd_arm, r=sanxiyn | Pietro Albini | -0/+54 | |
| Add FreeBSD armv6 and armv7 targets | ||||
| 2019-03-08 | Auto merge of #58903 - estebank:forgetful-delims, r=petrochenkov | bors | -70/+181 | |
| Always emit unclosed delimiter diagnostics Fix #58886. | ||||
| 2019-03-08 | Auto merge of #58013 - Zoxc:stable-hash-macro-simple, r=oli-obk | bors | -87/+381 | |
| Create a derive macro for HashStable and allow proc macros in rustc A combination of https://github.com/rust-lang/rust/pull/56864 and https://github.com/rust-lang/rust/pull/56795. There were complications with using `serde_derive` as rustc doesn't know which crate to use for the host when there is a serde_derive in the sysroot and cargo passes another on the command line built from crates.io. r? @eddyb (for proc macro changes) @alexcrichton (for rustbuild changes) @michaelwoerister (for the macro itself) | ||||
| 2019-03-07 | Always call read/write from default vectored io methods | Steven Fackler | -28/+32 | |
| 2019-03-07 | Fix SGX implementations of read/write_vectored. | Steven Fackler | -12/+10 | |
| 2019-03-07 | Add a test for invalid const arguments | varkor | -0/+12 | |
| 2019-03-07 | update treat-err-as-bug test | Esteban Küber | -1/+1 | |
| 2019-03-07 | Add more details to elseless if error | Esteban Küber | -8/+69 | |
| 2019-03-07 | address review comments | Esteban Küber | -34/+44 | |
| 2019-03-08 | Improve recovery for missing trait in a trait impl | Vadim Petrochenkov | -16/+15 | |
| 2019-03-07 | Point at coercion reason for if exprs without else clause | Esteban Küber | -1/+62 | |
| ``` error[E0317]: if may be missing an else clause --> $DIR/if-without-else-as-fn-expr.rs:2:5 | LL | fn foo(bar: usize) -> usize { | ----- found `usize` because of this return type LL | / if bar % 5 == 0 { LL | | return 3; LL | | } | |_____^ expected (), found usize | = note: expected type `()` found type `usize` = note: `if` expressions without `else` must evaluate to `()` ``` | ||||
| 2019-03-07 | Adds diagnostic message and UI test. | Wesley Norris | -1/+24 | |
| 2019-03-07 | Update treat-err-as-bug help text | Esteban Küber | -1/+1 | |
| 2019-03-07 | Fix with_emitter callers | Esteban Küber | -3/+3 | |
| 2019-03-07 | fix bad logic | Esteban Küber | -3/+4 | |
| 2019-03-07 | Fix segfaults in release build C-variadic fns | Dan Robertson | -9/+27 | |
| `va_start` and `va_end` must be called to initialize/cleanup the "spoofed" `VaList` in a Rust defined C-variadic function even if the `VaList` is not used. | ||||
| 2019-03-07 | hir: remove some obsolete NodeId methods | ljedrz | -49/+35 | |
| 2019-03-07 | hir: remove Visitor::visit_def_mention | ljedrz | -20/+1 | |
| 2019-03-07 | hir: replace NodeId with HirId in Destination | ljedrz | -29/+30 | |
| 2019-03-07 | hir: remove NodeId from PatKind | ljedrz | -53/+48 | |
| 2019-03-07 | Keep current behavior while accepting error count | Esteban Küber | -11/+30 | |
| 2019-03-07 | Actually publish miri in the manifest | Oliver Scherer | -1/+3 | |
| 2019-03-07 | fix bad use of with_emitter | Esteban Küber | -2/+2 | |
| 2019-03-07 | hir: remove NodeId from PathSegment | ljedrz | -14/+4 | |
| 2019-03-07 | HirIdification: replace NodeId method calls | ljedrz | -339/+336 | |
| 2019-03-06 | Wrap a long configure line | Josh Stone | -1/+2 | |
| 2019-03-06 | [CI] Update binutils for powerpc64 and powerpc64le | Josh Stone | -1/+20 | |
| Cargo powerpc64 and powerpc64le are seeing `SIGILL` crashes in openssl, which was found to be a linking problem, fixed by newer binutils. See <https://github.com/rust-lang/rust/issues/57345#issuecomment-462094555> For powerpc64 we're using crosstool-ng, which doesn't offer a newer binutils version, but we can just compile it separately. On powerpc64le we're already building binutils. Both are now updated to binutils 2.32. Closes rust-lang/cargo#6320 Closes rust-lang/rust#57345 Closes rust-lang/rustup.rs#1620 | ||||
| 2019-03-06 | Fix incorrect default | Esteban Kuber | -1/+1 | |
| 2019-03-06 | Make `-Z treat-err-as-bug` take a number of errors to be emitted | Esteban Küber | -19/+28 | |
| `-Z treat-err-as-bug=0` will cause `rustc` to panic after the first error is reported. `-Z treat-err-as-bug=2` will cause `rustc` to panic after 3 errors have been reported. | ||||
| 2019-03-06 | Rely on drop to emit unclosed delims | Esteban Küber | -1/+0 | |
| 2019-03-06 | Simplify code | Esteban Küber | -29/+16 | |
| 2019-03-06 | Add regression test for #58886 | Esteban Küber | -0/+53 | |
| 2019-03-06 | Always emit mismatched delim errors, never panic | Esteban Küber | -3/+2 | |
| 2019-03-06 | Collect unclosed delimiters in parent parser | Esteban Küber | -35/+45 | |
| 2019-03-06 | Emit missing unclosed delimiter errors | Esteban Küber | -55/+56 | |
| 2019-03-06 | Panic when unmatched delimiters aren't emitted | Esteban Küber | -1/+8 | |
| 2019-03-06 | Reduce test case | Esteban Küber | -18/+4 | |
| 2019-03-06 | Emit unclosed delimiters during recovery | Esteban Küber | -1/+14 | |
| 2019-03-06 | Bail when encountering a second unexpected token in the same span | Esteban Küber | -78/+25 | |
| 2019-03-06 | Do not panic on missing close paren | Esteban Küber | -1/+110 | |
| Fix #58856. | ||||
| 2019-03-06 | Surround found token with ` | Esteban Küber | -3/+3 | |
| 2019-03-06 | Fix buffer invalidation at BufReader.read_vectored | André Vicente Milack | -9/+11 | |
| 2019-03-06 | Apply suggestions from code review | Ralf Jung | -1/+1 | |
| 2019-03-06 | Apply suggestions from code review | Mazdak Farrokhzad | -3/+3 | |
| Co-Authored-By: RalfJung <post@ralfj.de> | ||||
