about summary refs log tree commit diff
path: root/src/test/run-pass-fulldeps
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-2214/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+68
2019-07-13Make `newtype_index` hygienic and use allow_internal_unstableMatthew Jasper-3/+3
2019-07-11syntax: Make def-site span mandatory in ↵Vadim Petrochenkov-2/+1
ExpnInfo/MacroBacktrace/DiagnosticSpanMacroExpansion We have to deal with dummy spans anyway Remove def-site span from expander interfaces. It's not used by the expansion infra, only by specific expanders, which can keep it themselves if they want it.
2019-07-07Link compiler plugins to rustc_driverJohn Kåre Alsaker-0/+8
2019-06-30Feature gate `rustc` attributes harderVadim Petrochenkov-1/+1
2019-06-30Make sure `#[rustc_doc_only_macro]` and other rustc attributes are registeredVadim Petrochenkov-2/+3
2019-06-23let_chains: Add test cases to pprust-expr-roundtrip.Mazdak Farrokhzad-23/+32
2019-06-20rename hir::map::get_by_hir_id to getljedrz-1/+1
2019-06-19Rollup merge of #61898 - petrochenkov:sekind, r=eddybMazdak Farrokhzad-13/+5
syntax: Factor out common fields from `SyntaxExtension` variants And some other related cleanups. Continuation of https://github.com/rust-lang/rust/pull/61606. This will also help to unblock https://github.com/rust-lang/rust/pull/61877.
2019-06-19Rollup merge of #61843 - alexcrichton:disable-myriad-closures, r=pietroalbiniMazdak Farrokhzad-3/+3
Turn down the myriad-closures test This tests takes nearly 5 minutes to compile on CI where the CPUs we have aren't exactly the fastest. This test does actually require all closures to exist to exhibit the original bug, but it seems a little excessive to test a single bug on CI on all platforms which simply pegs a single CPU for 5 minutes with no parallelism opportunities, so this turns down the test to still exercise it somewhat at least.
2019-06-18syntax: Factor out common fields from `SyntaxExtension` variantsVadim Petrochenkov-13/+5
2019-06-17remove _by_hir_id if there is no NodeId counterpartljedrz-1/+1
2019-06-14Turn down the myriad-closures testAlex Crichton-3/+3
This tests takes nearly 5 minutes to compile on CI where the CPUs we have aren't exactly the fastest. This test does actually require all closures to exist to exhibit the original bug, but it seems a little excessive to test a single bug on CI on all platforms which simply pegs a single CPU for 5 minutes with no parallelism opportunities, so this turns down the test to still exercise it somewhat at least.
2019-06-10syntax: Rename variants of `SyntaxExtension` for consistencyVadim Petrochenkov-5/+3
2019-06-10syntax: Remove `SyntaxExtension::DeclMacro`Vadim Petrochenkov-0/+2
It's a less powerful duplicate of `SyntaxExtension::NormalTT`
2019-06-10syntax: Remove `SyntaxExtension::MultiDecorator` and `MultiItemDecorator`Vadim Petrochenkov-367/+0
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-10/+10
2019-06-05Aggregation of drive-by cosmetic changes.Alexander Regueiro-17/+15
2019-05-29Update the rest of the test suites to use dynmemoryruins-1/+1
2019-05-21Move `edition` outside the hygiene lock and avoid accessing itJohn Kåre Alsaker-4/+4
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-7/+8
2019-04-21Use sysroot libserialize in newtype_index testIgor Matuszewski-1/+1
2019-04-03reduce repetition in librustc(_lint) wrt. impl LintPassMazdak Farrokhzad-13/+6
2019-03-15Auto merge of #58556 - oli-obk:imperative_recursion, r=pnkfelixbors-0/+26
Optimize copying large ranges of undefmask blocks Hopefully fixes #58523
2019-03-14Moved issue tests to subdirs and normalised names.Alexander Regueiro-12/+12
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-71/+10
2019-03-04Use bit operations for setting large ranges of bits in a u64Oliver Scherer-1/+1
2019-03-04Test the `UndefMask` typeOliver Scherer-0/+26
2019-02-27Rename variadic to c_variadicDan Robertson-1/+1
Function signatures with the `variadic` member set are actually C-variadic functions. Make this a little more explicit by renaming the `variadic` boolean value, `c_variadic`.
2019-02-20hir: HirId-ify intravisitljedrz-3/+3
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-2/+2
Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far!
2019-02-11Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocsOliver Scherer-1/+1
2019-02-11Update fulldeps testOliver Scherer-1/+1
2019-02-10tests: doc commentsAlexander Regueiro-2/+2
2019-02-06Overhaul `syntax::fold::Folder`.Nicholas Nethercote-24/+28
This commit changes `syntax::fold::Folder` from a functional style (where most methods take a `T` and produce a new `T`) to a more imperative style (where most methods take and modify a `&mut T`), and renames it `syntax::mut_visit::MutVisitor`. The first benefit is speed. The functional style does not require any reallocations, due to the use of `P::map` and `MoveMap::move_{,flat_}map`. However, every field in the AST must be overwritten; even those fields that are unchanged are overwritten with the same value. This causes a lot of unnecessary memory writes. The imperative style reduces instruction counts by 1--3% across a wide range of workloads, particularly incremental workloads. The second benefit is conciseness; the imperative style is usually more concise. E.g. compare the old functional style: ``` fn fold_abc(&mut self, abc: ABC) { ABC { a: fold_a(abc.a), b: fold_b(abc.b), c: abc.c, } } ``` with the imperative style: ``` fn visit_abc(&mut self, ABC { a, b, c: _ }: &mut ABC) { visit_a(a); visit_b(b); } ``` (The reductions get larger in more complex examples.) Overall, the patch removes over 200 lines of code -- even though the new code has more comments -- and a lot of the remaining lines have fewer characters. Some notes: - The old style used methods called `fold_*`. The new style mostly uses methods called `visit_*`, but there are a few methods that map a `T` to something other than a `T`, which are called `flat_map_*` (`T` maps to multiple `T`s) or `filter_map_*` (`T` maps to 0 or 1 `T`s). - `move_map.rs`/`MoveMap`/`move_map`/`move_flat_map` are renamed `map_in_place.rs`/`MapInPlace`/`map_in_place`/`flat_map_in_place` to reflect their slightly changed signatures. - Although this commit renames the `fold` module as `mut_visit`, it keeps it in the `fold.rs` file, so as not to confuse git. The next commit will rename the file.
2019-01-26Auto merge of #57726 - Zoxc:combine-early-lints, r=estebankbors-0/+8
Combine all builtin early lints This also adds a -Z no-interleave-lints option to allow benchmarking lints. r? @estebank
2019-01-24Remove quote_*! macros and associated APIsMark Simulacrum-729/+27
2019-01-19Fix lints in testsJohn Kåre Alsaker-0/+8
2018-12-27Get rid of `Block::recovered`Vadim Petrochenkov-1/+0
2018-12-25Remove licensesMark Rousskov-841/+0
2018-12-23stabilize min_const_unsafe_fn in 1.33.Mazdak Farrokhzad-1/+1
2018-12-07Auto merge of #56502 - Zoxc:hir-func, r=eddybbors-2/+2
Use a function to access the Hir map to be able to turn it into a query later r? @eddyb
2018-12-07Unsupport `#[derive(Trait)]` sugar for `#[derive_Trait]` legacy plugin ↵Vadim Petrochenkov-16/+12
attributes
2018-12-06Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker-2/+2
2018-12-06Auto merge of #55635 - oli-obk:min_const_unsafe_fn, r=nikomatsakisbors-1/+1
Allow calling `const unsafe fn` in `const fn` behind a feature gate cc #55607 r? @Centril
2018-12-06Auto merge of #54517 - mcr431:53956-panic-on-include_bytes-of-own-file, ↵bors-3/+5
r=michaelwoerister 53956 panic on include bytes of own file fix #53956 When using `include_bytes!` on a source file in the project, compiler would panic on subsequent compilations because `expand_include_bytes` would overwrite files in the source_map with no source. This PR changes `expand_include_bytes` to check source_map and use the already existing src, if any.
2018-12-04updates all Filename variants to take a fingerprintMatthew Russo-3/+5
2018-12-04Add and update testsOliver Scherer-1/+0
2018-12-04Adjust a rustc test to the safety changesOliver Scherer-1/+2