about summary refs log tree commit diff
path: root/src/test/ui-fulldeps
AgeCommit message (Collapse)AuthorLines
2018-12-26Store `Ident` rather than just `Name` in HIR types `Item` and `ForeignItem`.Alexander Regueiro-4/+5
2018-12-25Remove licensesMark Rousskov-380/+60
2018-12-09Move some tests from ui-fulldeps to uiVadim Petrochenkov-502/+0
2018-12-09Move compile-fail-fulldeps tests to ui-fulldepsVadim Petrochenkov-0/+1583
2018-11-30tests: move all proc_macro tests from -fulldeps.Eduard-Mihai Burtescu-2912/+0
2018-11-30tests: remove ignore-stage1 where possible in proc_macro tests.Eduard-Mihai Burtescu-40/+36
2018-11-27remove uses of feature gateMark Mansi-3/+0
2018-11-27resolve: Suggest `crate::` for resolving ambiguities when appropriateVadim Petrochenkov-7/+7
More precise spans for ambiguities from macros
2018-11-27resolve: Implement edition hygiene for imports and absolute pathsVadim Petrochenkov-0/+43
Use per-span hygiene in a few other places in resolve Prefer `rust_2015`/`rust_2018` helpers to comparing editions
2018-11-24Rollup merge of #56120 - SergioBenitez:subspan, r=alexcrichtonkennytm-0/+182
Add unstable Literal::subspan(). Take 2 of #55971. Still ~wrong, but now with a comment! (and less of a surface) Unblocks #49219. r? @alexcrichton
2018-11-20Add unstable Literal::subspan().Sergio Benitez-0/+182
2018-11-21Stabilize `extern_crate_item_prelude`Vadim Petrochenkov-2/+0
2018-11-19Auto merge of #55971 - SergioBenitez:skip-non-semantic, r=alexcrichtonbors-0/+112
Ignore non-semantic tokens for 'probably_eq' streams. Improves the situation in #43081 by skipping typically non-semantic tokens when checking for 'probably_eq'. r? @alexcrichton
2018-11-18resolve: Support resolving macros without leaving tracesVadim Petrochenkov-0/+13
2018-11-18resolve: Tweak some articles in ambiguity diagnosticsVadim Petrochenkov-7/+7
2018-11-18resolve: Improve diagnostics for resolution ambiguitiesVadim Petrochenkov-46/+28
2018-11-18resolve: Simplify ambiguity checking for built-in attributesVadim Petrochenkov-6/+6
2018-11-16Ignore non-semantic tokens for 'probably_eq' streams.Sergio Benitez-0/+112
2018-10-24Feature gate extern prelude additions from `extern crate` itemsVadim Petrochenkov-1/+3
Fix rustdoc and fulldeps tests
2018-10-24Add `extern crate` items to extern preludeVadim Petrochenkov-0/+7
2018-10-20pick a reference issue for absolute-paths future incompatibility infoZack M. Davis-2/+2
It would be kind of embarrassing to ship with the "issue TBD" message!
2018-10-09Remove `feature(tool_lints)` from testsflip1995-1/+1
2018-10-05Auto merge of #54336 - petrochenkov:preuni, r=alexcrichtonbors-45/+3
resolve: Some refactorings in preparation for uniform paths 2.0 The main result is that in-scope resolution performed during macro expansion / import resolution is now consolidated in a single function (`fn early_resolve_ident_in_lexical_scope`), which can now be used for resolving first import segments as well when uniform paths are enabled. r? @ghost
2018-10-05expansion: Remove restriction on use of macro attributes with test/benchVadim Petrochenkov-45/+3
The restrictions were introduced in https://github.com/rust-lang/rust/pull/54277 and no longer necessary now because legacy plugins are now expanded in usual left-to-right order
2018-10-02Merge the `proc_macro_` expansion feature gates into a single ↵jeb-5/+5
`proc_macro_hygiene` gate.
2018-10-01Extra proc macro gates are now at #54727Alex Crichton-2/+2
2018-09-30Auto merge of #54650 - eddyb:no-extern's-land, r=alexcrichtonbors-77/+9
Don't lint non-extern-prelude extern crate's in Rust 2018. Fixes #54381 by silencing the lint telling users to remove `extern crate` when `use` doesn't work. r? @alexcrichton cc @petrochenkov @nikomatsakis @Centril
2018-09-28rustc_typeck: don't lint non-extern-prelude extern crate's in Rust 2018.Eduard-Mihai Burtescu-77/+9
2018-09-27Bump to 1.31.0 and bootstrap from 1.30 betaJosh Stone-3/+0
2018-09-25resolve: Do not block derive helper resolutions on single import resolutionsVadim Petrochenkov-7/+78
Derive helpers conflict currently conflict with anything else, so if some resolution from a single import appears later, it will result in error anyway
2018-09-17Auto merge of #54277 - petrochenkov:afterder, r=alexcrichtonbors-3/+67
Temporarily prohibit proc macro attributes placed after derives ... and also proc macro attributes used together with `#[test]`/`#[bench]`. Addresses item 6 from https://github.com/rust-lang/rust/pull/50911#issuecomment-411605393. The end goal is straightforward predictable left-to-right expansion order for attributes. Right now derives are expanded last regardless of their relative ordering with macro attributes and right now it's simpler to temporarily prohibit macro attributes placed after derives than changing the expansion order. I'm not sure whether the new beta is already released or not, but if it's released, then this patch needs to be backported, so the solution needs to be minimal. How to fix broken code (derives): - Move macro attributes above derives. This won't change expansion order, they are expanded before derives anyway. Using attribute macros on same items with `#[test]` and `#[bench]` is prohibited for similar expansion order reasons, but this one is going to be reverted much sooner than restrictions on derives. How to fix broken code (test/bench): - Enable `#![feature(plugin)]` (don't ask why). r? @ghost
2018-09-16resolve: Do not error on access to proc macros imported with `#[macro_use]`Vadim Petrochenkov-0/+88
2018-09-16Temporarily prohibit proc macro attributes placed after derivesVadim Petrochenkov-3/+67
... and also proc macro attributes used together with test/bench.
2018-09-15Auto merge of #52896 - SergioBenitez:master, r=alexcrichtonbors-0/+170
Add inspection and setter methods to proc_macro::Diagnostic. A few useful methods for `proc_macro::Diagnostic`. r? @alexcrichton
2018-09-13resolve: Introduce two sub-namespaces in macro namespaceVadim Petrochenkov-0/+29
2018-09-13Add multispan support to proc-macro diagnostics.Sergio Benitez-0/+170
Also updates the issue number for 'proc_macro_diagnostic'.
2018-09-13resolve: Future proof derive helper attributesVadim Petrochenkov-0/+81
2018-09-11resolve: Reserve a few very special names in macro namespaceVadim Petrochenkov-52/+48
2018-09-11resolve: Future proof resolutions for potentially built-in attributesVadim Petrochenkov-0/+242
2018-09-09Remove crate_visibility_modifier from 2018 editionMark Rousskov-1/+1
2018-09-01deprcated -> deprecatedManish Goregaokar-1/+1
2018-09-01Add tests for cmdline tool lintsflip1995-0/+48
2018-08-31Update testsflip1995-16/+25
2018-08-31Add hint for cfg_attr and fix testflip1995-7/+8
2018-08-31Add deprecated_name argument to the register lint group functionsflip1995-1/+1
2018-08-31Add tests for backward compatflip1995-7/+72
2018-08-23Stabilize a few secondary macro featuresVadim Petrochenkov-10/+8
`tool_attributes`, `proc_macro_path_invoc`, partially `proc_macro_gen`
2018-08-22Auto merge of #53516 - petrochenkov:derregr, r=estebankbors-0/+26
resolve: Continue search in outer scopes after applying derive resolution fallback Fixes https://github.com/rust-lang/rust/issues/53263
2018-08-21Auto merge of #53471 - petrochenkov:biattr2, r=oli-obkbors-9/+9
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-20resolve: Refactor away `MacroBinding`Vadim Petrochenkov-3/+3
`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