| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-10-24 | Prohibit macro-expanded `extern crate` items shadowing crates passed with ↵ | Vadim Petrochenkov | -2/+20 | |
| `--extern` | ||||
| 2018-10-24 | Feature gate extern prelude additions from `extern crate` items | Vadim Petrochenkov | -2/+7 | |
| Fix rustdoc and fulldeps tests | ||||
| 2018-10-24 | Add `extern crate` items to extern prelude | Vadim Petrochenkov | -0/+87 | |
| 2018-10-17 | fix other tests failing due to change in case or new suggestion for extern crate | François Mockers | -1/+1 | |
| 2018-10-05 | Reapply the macro_rules disambiguation changes from master | Vadim Petrochenkov | -18/+1 | |
| 2018-10-05 | resolve: Merge resolution for `macro_rules` into the common early in-scope ↵ | Vadim Petrochenkov | -18/+35 | |
| resolution function `fn resolve_legacy_scope`/`fn resolve_lexical_macro_path_segment` -> `fn early_resolve_ident_in_lexical_scope` | ||||
| 2018-10-03 | resolve: Prefer `macro_rules` definitions to in-module macro definitions in ↵ | Vadim Petrochenkov | -19/+2 | |
| some cases | ||||
| 2018-09-19 | Use full name to identify a macro in a `FileName`. | Diogo Sousa | -1/+1 | |
| Before this two macros with same name would be indistinguishable inside a `FileName`. This caused a bug in incremental compilation (see #53097) since two different macros would map out to the same `StableFilemapId`. Fixes #53097. | ||||
| 2018-09-08 | resolve: More precise spans for ambiguous resolution errors | Vadim Petrochenkov | -30/+28 | |
| Add labels to ambiguous resolution errors | ||||
| 2018-08-31 | cleanup: Add main functions to some UI tests | Vadim Petrochenkov | -19/+8 | |
| 2018-08-24 | Turn the error for module-relative access to macro-expanded `macro_export` ↵ | Vadim Petrochenkov | -1/+8 | |
| macros into a deprecation lint | ||||
| 2018-08-22 | Auto merge of #53509 - petrochenkov:wildregr, r=alexcrichton | bors | -0/+21 | |
| resolve: Reject some inaccessible candidates sooner during import resolution This allows import resolution to progress in cases like #53140 Fixes #53140 | ||||
| 2018-08-21 | Auto merge of #53471 - petrochenkov:biattr2, r=oli-obk | bors | -9/+89 | |
| resolve: Some macro resolution refactoring Work towards completing https://github.com/rust-lang/rust/pull/50911#issuecomment-411605393 The last commit also fixes https://github.com/rust-lang/rust/issues/53269 by not using `def_id()` on `Def::Err` and also fixes https://github.com/rust-lang/rust/issues/53512. | ||||
| 2018-08-21 | resolve: Unify reporting of ambiguity errors for macro paths | Vadim Petrochenkov | -10/+12 | |
| 2018-08-20 | resolve: Refactor away `MacroBinding` | Vadim Petrochenkov | -6/+84 | |
| `fn resolve_legacy_scope` can now resolve only to `macro_rules!` items, `fn resolve_lexical_macro_path_segment` is for everything else - modularized macros, preludes | ||||
| 2018-08-20 | resolve: Reject some inaccessible candidates sooner during import resolution | Vadim Petrochenkov | -0/+21 | |
| This allows import resolution to progress in cases like #53140 | ||||
| 2018-08-19 | Fix typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-08-17 | Stabilize `use_extern_macros` | Vadim Petrochenkov | -39/+27 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+505 | |
| 2018-08-12 | Prohibit using macro-expanded `macro_export` macros through module-relative ↵ | Vadim Petrochenkov | -0/+68 | |
| paths | ||||
| 2018-08-06 | Enable macro modularization implicitly if one of "advanced" macro features ↵ | Vadim Petrochenkov | -1/+1 | |
| is enabled Do not mark all builtin attributes as used when macro modularization is enabled | ||||
| 2018-07-29 | resolve: Modularize crate-local `#[macro_export] macro_rules` | Vadim Petrochenkov | -0/+313 | |
| 2018-07-20 | resolve: Fully prohibit shadowing of in-scope names by globs in macro paths | Vadim Petrochenkov | -0/+93 | |
| 2018-05-15 | Turn deprecation lint `legacy_imports` into a hard error | Vadim Petrochenkov | -15/+16 | |
| 2018-04-27 | Don't feature gate bang macros on 'proc_macro_path_invoc'. | Sergio Benitez | -2/+2 | |
| 2018-04-20 | rustc: Tweak custom attribute capabilities | Alex Crichton | -2/+2 | |
| This commit starts to lay some groundwork for the stabilization of custom attribute invocations and general procedural macros. It applies a number of changes discussed on [internals] as well as a [recent issue][issue], namely: * The path used to specify a custom attribute must be of length one and cannot be a global path. This'll help future-proof us against any ambiguities and give us more time to settle the precise syntax. In the meantime though a bare identifier can be used and imported to invoke a custom attribute macro. A new feature gate, `proc_macro_path_invoc`, was added to gate multi-segment paths and absolute paths. * The set of items which can be annotated by a custom procedural attribute has been restricted. Statements, expressions, and modules are disallowed behind two new feature gates: `proc_macro_expr` and `proc_macro_mod`. * The input to procedural macro attributes has been restricted and adjusted. Today an invocation like `#[foo(bar)]` will receive `(bar)` as the input token stream, but after this PR it will only receive `bar` (the delimiters were removed). Invocations like `#[foo]` are still allowed and will be invoked in the same way as `#[foo()]`. This is a **breaking change** for all nightly users as the syntax coming in to procedural macros will be tweaked slightly. * Procedural macros (`foo!()` style) can only be expanded to item-like items by default. A separate feature gate, `proc_macro_non_items`, is required to expand to items like expressions, statements, etc. Closes #50038 [internals]: https://internals.rust-lang.org/t/help-stabilize-a-subset-of-macros-2-0/7252 [issue]: https://github.com/rust-lang/rust/issues/50038 | ||||
| 2018-03-14 | Add empty main() to tests where it is missing. | Eric Huss | -10/+8 | |
| 2018-03-14 | Add crate name to "main function not found" error message. | Eric Huss | -2/+2 | |
| Fixes #44798 and rust-lang/cargo#4948. | ||||
| 2018-03-14 | update tests | Guillaume Gomez | -7/+7 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -2/+2 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -43/+43 | |
| 2018-02-25 | Update ui tests | Guillaume Gomez | -0/+7 | |
| 2018-01-28 | use correct casing for rename suggestions | Andy Russell | -2/+2 | |
| If the original name is uppercase, use camel case. Otherwise, use snake case. | ||||
| 2018-01-18 | Add E0659 for ambiguous names | Guillaume Gomez | -11/+11 | |
| 2017-12-14 | Remove NOTE/HELP annotations from UI tests | Vadim Petrochenkov | -113/+92 | |
| 2017-12-14 | Move compile-fail tests with NOTE/HELP annotations to UI | Vadim Petrochenkov | -0/+539 | |
