| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-05 | Rollup merge of #67881 - varkor:scattering-of-backticks, r=Centril | Dylan DPC | -2/+2 | |
| Add backticks to various diagnostics | ||||
| 2020-01-05 | Add backticks to various diagnostics | varkor | -2/+2 | |
| 2020-01-04 | hir::{hir,def,itemlikevisit,pat_util,print} -> rustc_hir | Mazdak Farrokhzad | -1/+11 | |
| Also fix fallout wrt. HashStable. | ||||
| 2020-01-02 | syntax::map_in_place: leave fixme | Mazdak Farrokhzad | -0/+2 | |
| 2020-01-02 | Normalize `syntax::edition` imports. | Mazdak Farrokhzad | -12/+5 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -14/+14 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -28/+24 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -44/+44 | |
| 2019-12-30 | Make things build again | Vadim Petrochenkov | -1/+1 | |
| 2019-12-28 | doc comments: Less attribute mimicking | Vadim Petrochenkov | -13/+17 | |
| 2019-12-27 | Stabilize the `matches!` macro | Simon Sapin | -1/+0 | |
| Fixes https://github.com/rust-lang/rust/issues/65721 FCP: https://github.com/rust-lang/rust/issues/65721#issuecomment-569118119 | ||||
| 2019-12-23 | Add new folder for destructuring assignment tests | varkor | -0/+1 | |
| 2019-12-23 | Add span information to `ExprKind::Assign` | varkor | -7/+7 | |
| 2019-12-22 | Format the world | Mark Rousskov | -1631/+1740 | |
| 2019-12-22 | Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=Centril | Mazdak Farrokhzad | -3/+3 | |
| Require issue = "none" over issue = "0" in unstable attributes These changes make the use of `issue = "none"` required in unstable attributes throughout the compiler. Notes: - #66299 is now in beta so `issue = "none"` is accepted. - The `tidy` tool now fails on `issue = "0"`. - Tests that used `issue = "0"` were changed to use `issue = "none"`, except for _one_ that asserts `issue = "0"` can still be used. - The compiler still allows `issue = "0"` because some submodules require it, this could be disallowed once these are updated. Resolves #41260 r? @varkor | ||||
| 2019-12-21 | Rollup merge of #67355 - Centril:merge-mut, r=oli-obk | Mazdak Farrokhzad | -17/+17 | |
| Merge `ast::Mutability` and `mir::Mutability` r? @oli-obk | ||||
| 2019-12-21 | Require issue = "none" over issue = "0" in unstable attributes | Ross MacArthur | -3/+3 | |
| 2019-12-20 | introduce 'type AttrVec' | Mazdak Farrokhzad | -14/+14 | |
| 2019-12-20 | 1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}. | Mazdak Farrokhzad | -17/+17 | |
| 2. mir::Mutability -> ast::Mutability. | ||||
| 2019-12-20 | Rollup merge of #67131 - Centril:item-merge, r=petrochenkov | Mazdak Farrokhzad | -297/+146 | |
| Merge `TraitItem` & `ImplItem into `AssocItem` In this PR we: - Merge `{Trait,Impl}Item{Kind?}` into `AssocItem{Kind?}` as discussed in https://github.com/rust-lang/rust/issues/65041#issuecomment-538105286. - This is done by using the cover grammar of both forms. - In particular, it requires that we syntactically allow (under `#[cfg(FALSE)]`): - `default`ness on `trait` items, - `impl` items without a body / definition (`const`, `type`, and `fn`), - and associated `type`s in `impl`s with bounds, e.g., `type Foo: Ord;`. - The syntactic restrictions are replaced by semantic ones in `ast_validation`. - Move syntactic restrictions around C-variadic parameters from the parser into `ast_validation`: - `fn`s in all contexts now syntactically allow `...`, - `...` can occur anywhere in the list syntactically (`fn foo(..., x: usize) {}`), - and `...` can be the sole parameter (`fn foo(...) {}`. r? @petrochenkov | ||||
| 2019-12-20 | Rollup merge of #64588 - matthewjasper:mir-address-of, r=oli-obk | Mazdak Farrokhzad | -4/+4 | |
| Add a raw "address of" operator * Parse and feature gate `&raw [const | mut] expr` (feature gate name is `raw_address_of`) * Add `mir::Rvalue::AddressOf` * Use the new `Rvalue` for: * the new syntax * reference to pointer casts * drop shims for slices and arrays * Stop using `mir::Rvalue::Cast` with a reference as the operand * Correctly evaluate `mir::Rvalue::{Ref, AddressOf}` in constant propagation cc @Centril @RalfJung @oli-obk @eddyb cc #64490 | ||||
| 2019-12-18 | Fix comment ordering | Matthew Jasper | -4/+4 | |
| 2019-12-17 | Remove outdated references to @T from comments | Matthew Healy | -7/+2 | |
| 2019-12-14 | Auto merge of #67224 - nikomatsakis:revert-stabilization-of-never-type, ↵ | bors | -0/+18 | |
| r=centril Revert stabilization of never type Fixes https://github.com/rust-lang/rust/issues/66757 I decided to keep the separate `never-type-fallback` feature gate, but tried to otherwise revert https://github.com/rust-lang/rust/pull/65355. Seemed pretty clean. ( cc @Centril, author of #65355, you may want to check this over briefly ) | ||||
| 2019-12-14 | Revert "Stabilize the `never_type`, written `!`." | Niko Matsakis | -0/+18 | |
| This reverts commit 15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1. | ||||
| 2019-12-13 | Require stable/unstable annotations for the constness of all stable ↵ | Oliver Scherer | -62/+63 | |
| functions with a `const` modifier | ||||
| 2019-12-12 | `AssocImplKind::{Method -> Fn}`. | Mazdak Farrokhzad | -8/+7 | |
| 2019-12-12 | Remove `ast::{Impl,Trait}{Item,ItemKind}`. | Mazdak Farrokhzad | -15/+9 | |
| 2019-12-12 | Unify assoc item visitors more. | Mazdak Farrokhzad | -25/+26 | |
| 2019-12-12 | Unify associated item visitor. | Mazdak Farrokhzad | -47/+19 | |
| 2019-12-12 | Unify associated item mut visitors. | Mazdak Farrokhzad | -43/+11 | |
| 2019-12-12 | Unify associated item pretty printing. | Mazdak Farrokhzad | -75/+21 | |
| 2019-12-12 | parse: refactor fun ret ty & param ty | Mazdak Farrokhzad | -61/+28 | |
| 2019-12-12 | Unify associated function parsing. | Mazdak Farrokhzad | -0/+1 | |
| 2019-12-12 | Unify `{Impl,Trait}Item` as `AssocItem`. | Mazdak Farrokhzad | -18/+25 | |
| 2019-12-12 | Unify `{Trait,Impl}ItemKind::TyAlias` structures. | Mazdak Farrokhzad | -18/+22 | |
| 2019-12-12 | `TraitItemKind::Type` -> `TraitItemKind::TyAlias`. | Mazdak Farrokhzad | -5/+5 | |
| 2019-12-12 | Use `Option` in `ImplItemKind::Method`. | Mazdak Farrokhzad | -21/+21 | |
| 2019-12-12 | Use `Option` in `ImplItemKind::Const`. | Mazdak Farrokhzad | -5/+5 | |
| 2019-12-12 | Alias `TraitItem` & `ImplItem`. | Mazdak Farrokhzad | -18/+8 | |
| Allow defaultness on trait items syntactically. | ||||
| 2019-12-09 | Rollup merge of #67113 - Centril:enum-vis-pretty-fix, r=davidtwco | Tyler Mandry | -0/+1 | |
| Print the visibility in `print_variant`. r? @davidtwco cc @dtolnay for `syn` awareness. | ||||
| 2019-12-07 | Make `ForeignItem` an alias of `Item`. | Mazdak Farrokhzad | -13/+4 | |
| 2019-12-07 | Print the visibility in `print_variant`. | Mazdak Farrokhzad | -0/+1 | |
| 2019-12-06 | Rename to `then_some` and `then` | varkor | -1/+1 | |
| 2019-12-06 | Use `to_option` in various places | varkor | -2/+3 | |
| 2019-12-03 | Deduplicate CrateConfig | Mark Rousskov | -4/+1 | |
| 2019-12-03 | Move ParseSess to librustc_session | Mark Rousskov | -173/+1 | |
| 2019-12-03 | Move BufferedEarlyLint to librustc_session | Mark Rousskov | -58/+2 | |
| 2019-12-03 | Move early lint declarations to librustc_session | Mark Rousskov | -9/+27 | |
| 2019-12-02 | Address review comments | Vadim Petrochenkov | -9/+13 | |
