| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-11 | {syntax -> rustc_ast_passes}::feature_gate | Mazdak Farrokhzad | -730/+0 | |
| 2020-01-11 | get_features -> rustc_parse::config | Mazdak Farrokhzad | -171/+4 | |
| 2020-01-11 | gating diagnostics -> rustc_session::parse | Mazdak Farrokhzad | -69/+4 | |
| 2020-01-11 | Rollup merge of #68050 - Centril:canon-error, r=Mark-Simulacrum | Yuki Okushi | -1/+1 | |
| Canonicalize rustc_error imports r? @Mark-Simulacrum | ||||
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-10 | Introduce `#![feature(half_open_range_patterns)]`. | Mazdak Farrokhzad | -0/+1 | |
| This feature adds `X..`, `..X`, and `..=X` patterns. | ||||
| 2020-01-09 | Add `const_trait_bound_opt_out` feature gate | Dylan MacKenzie | -0/+1 | |
| 2020-01-09 | Add `const_trait_impl` feature gate | Dylan MacKenzie | -0/+1 | |
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -17/+11 | |
| - remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors | ||||
| 2020-01-05 | Add backticks to various diagnostics | varkor | -2/+2 | |
| 2020-01-02 | Normalize `syntax::edition` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -10/+9 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -178/+269 | |
| 2019-12-20 | Rollup merge of #67131 - Centril:item-merge, r=petrochenkov | Mazdak Farrokhzad | -22/+20 | |
| 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-14 | Revert "Stabilize the `never_type`, written `!`." | Niko Matsakis | -0/+18 | |
| This reverts commit 15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1. | ||||
| 2019-12-12 | `AssocImplKind::{Method -> Fn}`. | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-12 | Remove `ast::{Impl,Trait}{Item,ItemKind}`. | Mazdak Farrokhzad | -3/+3 | |
| 2019-12-12 | Unify assoc item visitors more. | Mazdak Farrokhzad | -18/+14 | |
| 2019-12-12 | Unify associated item visitor. | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-12 | Unify `{Trait,Impl}ItemKind::TyAlias` structures. | Mazdak Farrokhzad | -2/+4 | |
| 2019-12-12 | `TraitItemKind::Type` -> `TraitItemKind::TyAlias`. | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | derive(Default) for Features | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | move GateIssue to rustc_feature & simplify emit_feature_err | Mazdak Farrokhzad | -43/+11 | |
| 2019-11-30 | check.rs: inline a constant | Mazdak Farrokhzad | -4/+4 | |
| 2019-11-30 | move UnstableFeatures -> rustc_feature | Mazdak Farrokhzad | -38/+2 | |
| 2019-11-30 | inline two explanation constants | Mazdak Farrokhzad | -6/+0 | |
| 2019-11-30 | builtin_attrs.rs -> rustc_feature | Mazdak Farrokhzad | -595/+1 | |
| 2019-11-30 | move is_builtin_attr to syntax::attr | Mazdak Farrokhzad | -9/+2 | |
| 2019-11-30 | builtin_attrs: inline some strings | Mazdak Farrokhzad | -8/+5 | |
| 2019-11-30 | simplify gated cfgs logic | Mazdak Farrokhzad | -30/+6 | |
| 2019-11-30 | move AttributeTemplate to builtin_attrs | Mazdak Farrokhzad | -1/+16 | |
| 2019-11-30 | move Stability to rustc_feature | Mazdak Farrokhzad | -10/+2 | |
| 2019-11-30 | introduce crate rustc_feature and move active, accepted, and removed to it | Mazdak Farrokhzad | -1011/+4 | |
| 2019-11-26 | Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPC | Tyler Mandry | -3/+2 | |
| Various tweaks to diagnostic output | ||||
| 2019-11-25 | Tweak removed feature error | Esteban Küber | -3/+2 | |
| 2019-11-25 | Auto merge of #66671 - matthewjasper:ast-address-of, r=Centril | bors | -1/+5 | |
| Ast address-of This is the parts of #64588 that don't affect MIR. If an address-of expression makes it to MIR lowering we error and lower to the best currently expressible approximation to limit further errors. r? @Centril | ||||
| 2019-11-24 | Parse and feature gate raw address of expressions | Matthew Jasper | -1/+5 | |
| 2019-11-23 | Rollup merge of #61351 - GuillaumeGomez:stabilize-cfg-rustdoc, r=QuietMisdreavus | Mazdak Farrokhzad | -1/+0 | |
| Stabilize cfg(doc) cc #43781. | ||||
| 2019-11-21 | Add feature gate for const `if` and `match` | Dylan MacKenzie | -0/+3 | |
| 2019-11-21 | Stabilize cfg rustdoc | Guillaume Gomez | -1/+0 | |
| 2019-11-21 | Gate fallback via `#![feature(never_type_fallback)]`. | Mazdak Farrokhzad | -0/+3 | |
| 2019-11-21 | Stabilize the `never_type`, written `!`. | Mazdak Farrokhzad | -21/+2 | |
| 2019-11-20 | Rollup merge of #66060 - traxys:test_65401, r=michaelwoerister | Mazdak Farrokhzad | -1/+4 | |
| Making ICEs and test them in incremental This adds: - A way to make the compiler ICE - A way to check for ICE in `cfail` tests with `should-ice` - A regression test for issue #65401 I am not sure the attribute added `should-ice` is the best for this job | ||||
| 2019-11-19 | Auto merge of #66206 - PotHix:master, r=estebank | bors | -1/+1 | |
| Suggest `#[repr(C)]` instead of `#[repr(C, packed, ...)]` The code was previously suggesting `#[repr(C, packed, ...)]` for incorrect uses of `repr` (e.g. `#[repr = "C"]`). This change suggests the usage of `#[repr(C)]` instead. r? @estebank Ref: #61286. | ||||
| 2019-11-16 | ast: Keep string literals in ABIs precisely | Vadim Petrochenkov | -3/+3 | |
| 2019-11-16 | ast: Keep `extern` qualifiers in functions more precisely | Vadim Petrochenkov | -4/+12 | |
| 2019-11-15 | Rollup merge of #66197 - Centril:transparent-ast, r=varkor | Tyler Mandry | -20/+26 | |
| Push `ast::{ItemKind, ImplItemKind}::OpaqueTy` hack down into lowering We currently have a hack in the form of `ast::{ItemKind, ImplItemKind}::OpaqueTy` which is constructed literally when you write `type Alias = impl Trait;` but not e.g. `type Alias = Vec<impl Trait>;`. Per https://github.com/rust-lang/rfcs/pull/2515, this needs to change to allow `impl Trait` in nested positions. This PR achieves this change for the syntactic aspect but not the semantic one, which will require changes in lowering and def collection. In the interim, `TyKind::opaque_top_hack` is introduced to avoid knock-on changes in lowering, collection, and resolve. These hacks can then be removed and fixed one by one until the desired semantics are supported. r? @varkor | ||||
| 2019-11-14 | TAIT: feature gate recursive locations | Mazdak Farrokhzad | -20/+26 | |
