| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-09-13 | Support "soft" feature-gating using a lint | Vadim Petrochenkov | -7/+25 | |
| Use it for feature-gating `#[bench]` | ||||
| 2019-08-12 | Rollup merge of #62108 - Zoxc:sharded-queries, r=oli-obk | Mazdak Farrokhzad | -26/+28 | |
| Use sharded maps for queries Based on https://github.com/rust-lang/rust/pull/61779. r? @Gankro | ||||
| 2019-08-11 | Rollup merge of #63464 - Mark-Simulacrum:deref-instance, r=eddyb | Mark Rousskov | -2/+2 | |
| Copy ty::Instance instead of passing by reference ty::Instance is small and Copy, we should not be adding additional indirection. Fixes #63409. r? @eddyb | ||||
| 2019-08-11 | Rollup merge of #63441 - bjorn3:patch-1, r=Mark-Simulacrum | Mark Rousskov | -2/+2 | |
| Derive Debug for CrateInfo | ||||
| 2019-08-11 | Rollup merge of #63440 - RalfJung:ctfe-backtrace, r=oli-obk | Mark Rousskov | -1/+1 | |
| rename RUST_CTFE_BACKTRACE to RUSTC_CTFE_BACKTRACE This matches `RUSTC_LOG`. Both affect only rustc, not any Rust program. | ||||
| 2019-08-11 | Rollup merge of #63346 - RalfJung:zeroed-lint, r=eddyb | Mark Rousskov | -10/+23 | |
| Lint on some incorrect uses of mem::zeroed / mem::uninitialized Cc https://github.com/rust-lang/rust/issues/62825 and https://internals.rust-lang.org/t/make-mem-uninitialized-and-mem-zeroed-panic-for-some-types-where-0-is-a-niche/10605 This does not yet handle `NonNull`/`NonZero*`, but it is a start. I also improved some doc issues I hit on the way, and added a useful helper to `TyS`. EDIT: I added the relnotes label mostly as a proposal -- I think this is worth mentioning, but leave the decision up to the release team. | ||||
| 2019-08-11 | Copy ty::Instance instead of passing by reference | Mark Rousskov | -2/+2 | |
| ty::Instance is small and Copy, we should not be adding additional indirection. | ||||
| 2019-08-11 | Derive Debug for NativeLibrary and NativeLibraryKind | bjorn3 | -2/+2 | |
| 2019-08-11 | Auto merge of #63446 - Centril:refactor-lowering, r=oli-obk | bors | -2780/+2912 | |
| Refactor and categorize lowering wrt. items / exprs Split lowering into more files along the lines of "expression related" and "item related". Also refactor huge methods into smaller ones. A next step might be to introduce "type related" and merge patterns and statements combined with expressions into "value related". There's still more work to do but the PR was getting too big :) r? @oli-obk | ||||
| 2019-08-11 | proper doc comment for 'recovered' field of variant | Ralf Jung | -2/+2 | |
| Curtesy of petrochenkov | ||||
| 2019-08-11 | note a FIXME | Ralf Jung | -0/+1 | |
| 2019-08-11 | add tuple_fields convenience method and use it in a few places | Ralf Jung | -8/+20 | |
| 2019-08-11 | fix a comment | Ralf Jung | -1/+1 | |
| 2019-08-10 | diagnostics: Describe crate root modules in `DefKind::Mod` as "crate" | Vadim Petrochenkov | -3/+5 | |
| 2019-08-10 | lowering: move lower_arg -> item.rs | Mazdak Farrokhzad | -9/+9 | |
| 2019-08-10 | lowering: move scope & capture_clause stuff -> expr.rs | Mazdak Farrokhzad | -66/+66 | |
| 2019-08-10 | lowering: refactor into item.rs | Mazdak Farrokhzad | -1417/+1444 | |
| 2019-08-10 | lowering: move {lower_arm,arm} -> expr.rs | Mazdak Farrokhzad | -25/+29 | |
| 2019-08-10 | lowering: move field -> expr.rs | Mazdak Farrokhzad | -10/+10 | |
| 2019-08-10 | lowering: refactor label/dest -> expr.rs | Mazdak Farrokhzad | -47/+43 | |
| 2019-08-10 | lowering: move lower_{unop,binop} -> expr.rs | Mazdak Farrokhzad | -34/+34 | |
| 2019-08-10 | lowering: move lower_field -> expr.rs | Mazdak Farrokhzad | -10/+10 | |
| 2019-08-10 | lowering: move expr builder methods -> expr.rs | Mazdak Farrokhzad | -175/+182 | |
| 2019-08-10 | lowering: move make_async_expr -> expr.rs | Mazdak Farrokhzad | -41/+56 | |
| 2019-08-10 | lowering: extract lower_expr_let | Mazdak Farrokhzad | -34/+45 | |
| 2019-08-10 | lowering: extract lower_expr_if | Mazdak Farrokhzad | -40/+53 | |
| 2019-08-10 | lowering: extract lower_expr_while_in_loop_scope | Mazdak Farrokhzad | -73/+86 | |
| 2019-08-10 | lowering: move wrap_in_try_constructor -> expr.rs | Mazdak Farrokhzad | -12/+11 | |
| 2019-08-10 | lowering: extract lower_expr_try_block | Mazdak Farrokhzad | -25/+18 | |
| 2019-08-10 | lowering: move lower_await -> expr.rs | Mazdak Farrokhzad | -163/+160 | |
| 2019-08-10 | lowering: extract lower_expr_closure | Mazdak Farrokhzad | -36/+39 | |
| 2019-08-10 | lowering: extract lower_expr_async_closure | Mazdak Farrokhzad | -49/+67 | |
| 2019-08-10 | lowering: extract lower_expr_range_closed | Mazdak Farrokhzad | -11/+15 | |
| 2019-08-10 | lowering: extract lower_expr_range | Mazdak Farrokhzad | -39/+44 | |
| 2019-08-10 | lowering: extract lower_expr_asm | Mazdak Farrokhzad | -30/+35 | |
| 2019-08-10 | lowering: extract lower_expr_yield | Mazdak Farrokhzad | -22/+24 | |
| 2019-08-10 | lowering: extract lower_expr_for | Mazdak Farrokhzad | -153/+163 | |
| 2019-08-10 | lowering: extract lower_expr_try | Mazdak Farrokhzad | -110/+105 | |
| 2019-08-10 | lowering: move lower_expr -> expr.rs | Mazdak Farrokhzad | -800/+815 | |
| 2019-08-10 | rename RUST_CTFE_BACKTRACE to RUSTC_CTFE_BACKTRACE | Ralf Jung | -1/+1 | |
| 2019-08-10 | Rollup merge of #63432 - Centril:simplify-lowering, r=eddyb | Mazdak Farrokhzad | -43/+34 | |
| Cleanup & Simplify stuff in lowering Closes https://github.com/rust-lang/rust/issues/60253 as a byproduct. It turns out that it is in fact necessary to have a `DropTemps(...)` around the `match_expr` and there is a test (https://github.com/rust-lang/rust/blob/master/src/test/ui/issues/issue-13304.rs) which fails without that. r? @eddyb | ||||
| 2019-08-10 | Cleanup & Simplify stuff in lowering. | Mazdak Farrokhzad | -43/+34 | |
| 2019-08-10 | Fix calls to resolver from rustdoc and HIR lowering | Vadim Petrochenkov | -11/+4 | |
| Cleanup some surrounding code. Support resolution of intra doc links in unnamed block scopes. (Paths from rustdoc now use early resolution and no longer need results of late resolution like all the built ribs.) Fix one test hitting file path limits on Windows. | ||||
| 2019-08-10 | Rollup merge of #63350 - iluuu1994:use-associated-type-bounds, r=Centril | Mazdak Farrokhzad | -12/+10 | |
| Use associated_type_bounds where applicable - closes #61738 | ||||
| 2019-08-09 | Differentiate between tuple structs and tuple variants | Esteban Küber | -1/+1 | |
| 2019-08-09 | Be more accurate when mentioning type of found match arms | Esteban Küber | -28/+10 | |
| 2019-08-08 | Use associated_type_bounds where applicable - closes #61738 | Ilija Tovilo | -12/+10 | |
| 2019-08-08 | Rollup merge of #63360 - brson:cz-help, r=Mark-Simulacrum | Mazdak Farrokhzad | -6/+6 | |
| Use consistent capitalization in -C/-Z help This code could also use a pass to consistify the grammar, but not by me atm. | ||||
| 2019-08-07 | Auto merge of #62457 - ↵ | bors | -4/+21 | |
| zackmdavis:minimax_search_and_the_structure_of_cognition, r=varkor pretty-pretty extremal constants! (A resurrection of the defunct #57073.) While many programmers may intuitively appreciate the significance of "magic numbers" like −2147483648, Rust is about empowering everyone to build reliable and efficient software! It's a bit more legible to print the constant names (even noisy fully-qualified-paths thereof). The bit-manipulation methods mirror those in `librustc_mir::hair::pattern::_match::all_constructors`; thanks to the immortal Varkor for guidance. Resolves #56393. r? @varkor | ||||
| 2019-08-07 | Use consistent capitalization in -C/-Z help | Brian Anderson | -6/+6 | |
