| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-29 | Move directory `libsyntax` -> `librustc_ast` | Vadim Petrochenkov | -63/+0 | |
| 2020-02-04 | Auto merge of #68708 - Mark-Simulacrum:stage0-step, r=pietroalbini | bors | -1/+0 | |
| Step stage0 to bootstrap from 1.42 This also includes a commit which fixes the rustfmt downloading logic to redownload when the rustfmt channel changes, and bumps rustfmt to a more recent version. | ||||
| 2020-02-01 | syntax: reexport attr globals | Mazdak Farrokhzad | -0/+1 | |
| 2020-02-01 | syntax::print -> new crate rustc_ast_pretty | Mazdak Farrokhzad | -6/+0 | |
| 2020-02-01 | 1. move node_id to syntax | Mazdak Farrokhzad | -1/+1 | |
| 2. invert rustc_session & syntax deps 3. drop rustc_session dep in rustc_hir | ||||
| 2020-02-01 | syntax: move GLOBALS to attr module | Mazdak Farrokhzad | -34/+0 | |
| 2020-02-01 | {syntax -> rustc_ast_passes}::node_count | Mazdak Farrokhzad | -1/+0 | |
| 2020-01-31 | Drop cfg(bootstrap) code | Mark Rousskov | -1/+0 | |
| 2020-01-18 | slice_patterns: remove internal uses of gate | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-11 | Rollup merge of #68114 - ecstatic-morse:fix-feature-gating, r=Centril | Mazdak Farrokhzad | -1/+1 | |
| Don't require `allow_internal_unstable` unless `staged_api` is enabled. #63770 changed `qualify_min_const_fn` to require `allow_internal_unstable` for *all* crates that used an unstable feature, regardless of whether `staged_api` was enabled or the `fn` that used that feature was stably const. In practice, this meant that every crate in the ecosystem that wanted to use nightly features added `#![feature(const_fn)]`, which skips `qualify_min_const_fn` entirely. After this PR, crates that do not have `#![feature(staged_api)]` will only need to enable the feature they are interested in. For example, `#![feature(const_if_match)]` will be enough to enable `if` and `match` in constants. Crates with `staged_api` (e.g., `libstd`) require `#[allow_internal_unstable]` to be added to a function if it uses nightly features unless that function is also marked `#[rustc_const_unstable]`. This prevents proliferation of `#[allow_internal_unstable]` into functions that are not callable in a `const` context on stable. r? @oli-obk (author of #63770) cc @Centril | ||||
| 2020-01-10 | Remove unnecessary `const_fn` feature gates | Dylan MacKenzie | -1/+1 | |
| This flag opts out of the min-const-fn checks entirely, which is usually not what we want. The few cases where the flag is still necessary have been annotated. | ||||
| 2020-01-11 | {syntax -> rustc_ast_passes}::show_span | Mazdak Farrokhzad | -1/+0 | |
| 2020-01-11 | {syntax -> rustc_ast_passes}::feature_gate | Mazdak Farrokhzad | -4/+0 | |
| 2020-01-11 | nix syntax::early_buffered_lints | Mazdak Farrokhzad | -2/+0 | |
| 2020-01-11 | simplify feature_err imports | Mazdak Farrokhzad | -1/+0 | |
| 2020-01-11 | get_features -> rustc_parse::config | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-11 | gating diagnostics -> rustc_session::parse | Mazdak Farrokhzad | -1/+2 | |
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -1/+0 | |
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -6/+0 | |
| - 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-04 | hir::{hir,def,itemlikevisit,pat_util,print} -> rustc_hir | Mazdak Farrokhzad | -1/+11 | |
| Also fix fallout wrt. HashStable. | ||||
| 2020-01-02 | Normalize `syntax::edition` imports. | Mazdak Farrokhzad | -11/+4 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -1/+0 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -2/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -8/+8 | |
| 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-22 | Format the world | Mark Rousskov | -16/+13 | |
| 2019-12-20 | introduce 'type AttrVec' | Mazdak Farrokhzad | -1/+0 | |
| 2019-12-06 | Use `to_option` in various places | varkor | -0/+1 | |
| 2019-12-03 | Move ParseSess to librustc_session | Mark Rousskov | -1/+1 | |
| 2019-12-02 | syntax: Introduce a struct `MacArgs` for macro arguments | Vadim Petrochenkov | -0/+1 | |
| 2019-11-30 | move GateIssue to rustc_feature & simplify emit_feature_err | Mazdak Farrokhzad | -4/+1 | |
| 2019-11-30 | move UnstableFeatures -> rustc_feature | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | inline two explanation constants | Mazdak Farrokhzad | -1/+0 | |
| 2019-11-30 | builtin_attrs.rs -> rustc_feature | Mazdak Farrokhzad | -6/+0 | |
| 2019-11-30 | move is_builtin_attr to syntax::attr | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | simplify gated cfgs logic | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | move AttributeTemplate to builtin_attrs | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | move Stability to rustc_feature | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-30 | introduce crate rustc_feature and move active, accepted, and removed to it | Mazdak Farrokhzad | -1/+14 | |
| 2019-11-23 | Derive HashStable for TokenKind. | Camille GILLOT | -4/+1 | |
| 2019-11-23 | Rename StableHashingContextLike to HashStableContext. | Camille GILLOT | -1/+1 | |
| 2019-11-22 | Invert implementations for TokenKind. | Camille GILLOT | -1/+4 | |
| Also export a bunch of Token-related impls. | ||||
| 2019-11-22 | Export HashStable for DelimSpan, Lit and Path. | Camille GILLOT | -1/+1 | |
| 2019-11-22 | Add StableHashingContextLike to HashStable_Generic derive. | Camille GILLOT | -0/+5 | |
| 2019-11-15 | Move JSON emitter to rustc_errors | Mark Rousskov | -2/+0 | |
| 2019-11-15 | Move SourceMap to syntax_pos | Mark Rousskov | -1/+1 | |
| This does not update the use sites or delete the now unnecessary SourceMapper trait, to allow git to interpret the file move as a rename rather than a new file. | ||||
| 2019-11-14 | Update to use new librustc_error_codes library | Guillaume Gomez | -2/+0 | |
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -5/+2 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
| 2019-11-10 | move config.rs to libsyntax_expand | Mazdak Farrokhzad | -4/+0 | |
| 2019-11-07 | move syntax::{parse::literal -> util::literal} | Mazdak Farrokhzad | -0/+1 | |
