about summary refs log tree commit diff
path: root/src/test/ui-fulldeps/auxiliary
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-467/+0
2022-10-01`ui-fulldeps`: adopt to the new rustc lint APIMaybe Waffle-21/+17
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-1/+1
fix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)`
2022-09-06Allow lint passes to be bound by `TyCtxt`Jason Newcomb-6/+6
2022-07-31Remove workarounds for issue 59998bjorn3-13/+0
2022-03-16rustc_error: make ErrorReported impossible to constructmark-8/+8
There are a few places were we have to construct it, though, and a few places that are more invasive to change. To do this, we create a constructor with a long obvious name.
2022-01-15Return a LocalDefId in get_parent_item.Camille GILLOT-1/+1
2021-12-15Remove unnecessary sigils around `Ident::as_str()` calls.Nicholas Nethercote-1/+1
2021-11-28Take a LocalDefId in expect_*item.Camille GILLOT-2/+2
2021-09-30Bless tests.Camille GILLOT-9/+10
2021-09-26Remove box syntax from most places in src/test outside of the issues direst31-16/+14
2021-08-10Replace #[plugin_registrar] with exporting __rustc_plugin_registrarbjorn3-32/+45
2021-07-25Introduce OwnerNode::Crate.Camille GILLOT-2/+2
2021-03-30Fix fulldeps tests.Camille GILLOT-2/+2
2021-03-09Rebase fallout.Camille GILLOT-1/+1
2021-03-09Fix ui-fulldeps tests.Camille GILLOT-3/+5
2020-09-03Respect `-Z proc-macro-backtrace` flag for panics inside libproc_macroAaron Hill-0/+13
Fixes #76270 Previously, any panic occuring during a call to a libproc_macro method (e.g. calling `Ident::new` with an invalid identifier) would always cause an ICE message to be printed.
2020-08-17rust_ast::ast => rustc_astUjjwal Sharma-2/+2
2020-08-08Eliminate the `SessionGlobals` from `librustc_ast`.Nicholas Nethercote-2/+2
By moving `{known,used}_attrs` from `SessionGlobals` to `Session`. This means they are accessed via the `Session`, rather than via TLS. A few `Attr` methods and `librustc_ast` functions are now methods of `Session`. All of this required passing a `Session` to lots of functions that didn't already have one. Some of these functions also had arguments removed, because those arguments could be accessed directly via the `Session` argument. `contains_feature_attr()` was dead, and is removed. Some functions were moved from `librustc_ast` elsewhere because they now need to access `Session`, which isn't available in that crate. - `entry_point_type()` --> `librustc_builtin_macros` - `global_allocator_spans()` --> `librustc_metadata` - `is_proc_macro_attr()` --> `Session`
2020-07-10Avoid "whitelist"Tamir Duberstein-10/+10
Other terms are more inclusive and precise.
2020-07-03Use 'tcx for references to AccessLevels wherever possible.Eduard-Mihai Burtescu-5/+5
2020-04-25Remove support for self-openingMark Rousskov-35/+0
This was only used for linkage test cases, which is already covered by the run-make-fulldeps/symbol-visibility test -- which fairly extensively makes sure we're correctly exporting the right symbols at the right visibility (for various Rust crate types).
2020-03-30rustc -> rustc_middle part 5 -- fix testsMazdak Farrokhzad-3/+3
2020-03-24resolve: Remove `rustc_attrs` as a standalone feature gateVadim Petrochenkov-39/+6
Now it only gates specific built-in attributes
2020-03-18fix pre-expansion linting infraMazdak Farrokhzad-7/+5
2020-03-14Update testsJohn Kåre Alsaker-4/+4
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-10/+10
2020-02-11Fix stage2 test failures from call to span_lint.jumbatm-43/+80
span_lint was removed. Callers should use the `lint` method now, and call `set_span` within the closure passed to this method.
2020-02-01fix fallout in testsMazdak Farrokhzad-1/+2
2020-01-11fix ui-fulldeps & tests falloutMazdak Farrokhzad-18/+18
2020-01-08normalize rustc::hir::intravisit importsMazdak Farrokhzad-1/+1
2020-01-05fix ui-fulldeps falloutMazdak Farrokhzad-7/+10
2020-01-02fix src/test falloutMazdak Farrokhzad-6/+9
2019-12-30Rename `libsyntax_ext` and `libsyntax_expand` in codeVadim Petrochenkov-1/+0
2019-12-03Fix UI tests for new locationsMark Rousskov-9/+10
2019-12-01rustc_plugin: Remove support for plugins adding LLVM passesVadim Petrochenkov-19/+0
2019-11-24rustc_plugin: Remove support for syntactic pluginsVadim Petrochenkov-132/+10
2019-11-16rustc_plugin: Remove `Registry::register_attribute`Vadim Petrochenkov-14/+4
2019-11-07syntax::parser::token -> syntax::tokenMazdak Farrokhzad-1/+1
2019-10-17Fix test falloutMark Rousskov-28/+31
2019-10-17Take lint passes as constructor functionsMark Rousskov-1/+2
2019-10-16ui-fulldeps: make them pass again?Mazdak Farrokhzad-5/+9
2019-09-03use TokenStream rather than &[TokenTree] for built-in macrosAleksey Kladov-3/+3
That way, we don't loose the jointness info
2019-08-20Deprecate using rustc_plugin without the rustc_driver dylib.Simon Sapin-27/+13
CC https://github.com/rust-lang/rust/pull/59800 https://github.com/rust-lang/rust/commit/7198687bb2df13a3298ef1e8f594753073d6b9e8 Fix https://github.com/rust-lang/rust/issues/62717
2019-07-31Replace AstBuilder with inherent methodsMark Rousskov-2/+0
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+454
2019-07-26Introduce built-in macros through libcoreVadim Petrochenkov-7/+8
2019-07-07Link compiler plugins to rustc_driverJohn Kåre Alsaker-0/+6
2019-06-24Turn internal lints into tool lintsflip1995-3/+9
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-3/+3
And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s.