| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-10 | rustdoc: Rename invalid_codeblock_attribute lint to be plural | Oliver Middleton | -1/+1 | |
| 2020-05-31 | Auto merge of #72767 - pnkfelix:track-devirtualized-filenames-issue-70924, ↵ | bors | -2/+2 | |
| r=eddyb Track devirtualized filenames Split payload of FileName::Real to track both real and virtualized paths. (Such splits arise from metadata refs into libstd; the virtualized paths look like `/rustc/1.45.0/src/libstd/io/cursor.rs` rather than `/Users/felixklock/Dev/Mozilla/rust.git/src/libstd/io/cursor.rs`) This way, we can emit the virtual name into things like the like the StableSourceFileId (as was done back before PR #70642) that ends up in incremental build artifacts, while still using the devirtualized file path when we want to access the file. Fix #70924 | ||||
| 2020-05-29 | Split payload of FileName::Real to track both real and virutalized paths. | Felix S. Klock II | -2/+2 | |
| Such splits arise from metadata refs into libstd. This way, we can (in a follow on commit) continue to emit the virtual name into things like the like the StableSourceFileId that ends up in incremetnal build artifacts, while still using the devirtualized file path when we want to access the file. Note that this commit is intended to be a refactoring; the actual fix to the bug in question is in a follow-on commit. | ||||
| 2020-05-27 | rustc_session: Cleanup session creation | Vadim Petrochenkov | -1/+1 | |
| 2020-05-26 | Auto merge of #71900 - GuillaumeGomez:clean-up-rustdoc, r=ollie27,kinnison | bors | -3/+3 | |
| Clean up rustdoc source code Fixes #70498. r? @kinnison cc @rust-lang/rustdoc | ||||
| 2020-05-11 | Fix clippy warnings | Matthias Krüger | -2/+1 | |
| Fixes clippy::{cone_on_copy, filter_next, redundant_closure, single_char_pattern, len_zero,redundant_field_names, useless_format, identity_conversion, map_clone, into_iter_on_ref, needless_return, option_as_ref_deref, unused_unit, unnecessary_mut_passed} | ||||
| 2020-05-09 | End unification of exit codes in librustdoc | Guillaume Gomez | -3/+3 | |
| 2020-05-08 | Rollup merge of #71581 - GuillaumeGomez:unify-lints-handling, r=kinnison | Dylan DPC | -33/+9 | |
| Unify lints handling in rustdoc This is a small cleanup. The goal is to unify a bit things to make the reading simpler. r? @kinnison cc @rust-lang/rustdoc | ||||
| 2020-05-02 | cleanup: `config::CrateType` -> `CrateType` | Vadim Petrochenkov | -7/+6 | |
| 2020-04-27 | Unify lints handling in rustdoc | Guillaume Gomez | -33/+9 | |
| 2020-04-23 | Create new rustdoc lint to check for code blocks tags | Guillaume Gomez | -16/+81 | |
| 2020-04-16 | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | -1/+1 | |
| 2020-04-10 | fix target & runtool args order | Tom Dohrmann | -2/+7 | |
| 2020-04-02 | use direct import for ErrorReported | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-31 | improve folder name for persistent doc tests | Luro02 | -40/+63 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -2/+2 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -2/+2 | |
| 2020-03-24 | rustc: remove rustc_hir_pretty dependency. | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-16 | use direct imports for `rustc::{lint, session}`. | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-15 | Auto merge of #68944 - Zoxc:hir-map, r=eddyb | bors | -5/+6 | |
| Use queries for the HIR map r? @eddyb cc @michaelwoerister | ||||
| 2020-03-15 | Rollup merge of #69988 - petrochenkov:nomacrodef, r=Centril | Mazdak Farrokhzad | -1/+1 | |
| rustc_metadata: Remove `rmeta::MacroDef` And other related cleanups. Follow-up to https://github.com/rust-lang/rust/pull/66364. r? @Centril | ||||
| 2020-03-14 | Index HIR after creating TyCtxt | John Kåre Alsaker | -4/+4 | |
| 2020-03-14 | Update `krate_attrs` and `get_module` | John Kåre Alsaker | -1/+2 | |
| 2020-03-14 | rustc_metadata: Remove `rmeta::MacroDef` | Vadim Petrochenkov | -1/+1 | |
| Use `ast::MacroDef` instead. Also remove `Session::imported_macro_spans`, external macros have spans now. | ||||
| 2020-03-12 | ast: `Mac`/`Macro` -> `MacCall` | Vadim Petrochenkov | -1/+1 | |
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -2/+2 | |
| 2020-02-29 | Make it build again | Vadim Petrochenkov | -2/+2 | |
| 2020-02-28 | remove redundant clones, references to operands, explicit boolean ↵ | Matthias Krüger | -1/+1 | |
| comparisons and filter(x).next() calls. | ||||
| 2020-02-22 | Rename CodeMap to SourceMap follow up | Maxim Zholobak | -2/+2 | |
| 2020-02-07 | Rollup merge of #68889 - Zoxc:hir-krate, r=eddyb | Dylan DPC | -2/+2 | |
| Move the `hir().krate()` method to a query and remove the `Krate` dep node r? @eddyb cc @michaelwoerister | ||||
| 2020-02-06 | Remove the `Forest` type | John Kåre Alsaker | -1/+1 | |
| 2020-02-06 | Move the `krate` method to Hir and remove the Krate dep node | John Kåre Alsaker | -1/+1 | |
| 2020-02-06 | Add a Hir wrapper type | John Kåre Alsaker | -1/+1 | |
| 2020-02-06 | Auto merge of #68664 - tspiteri:no_run-complete-build, r=nikomatsakis | bors | -1/+1 | |
| rustdoc: attempt full build for compile_fail test Some code fails when doing a full build but does not fail when only emitting metadata. This commit makes sure compile_fail tests for such code behave as expected, that is, the test succeeds because the compilation fails. Fixes #67771. | ||||
| 2020-02-04 | remove redundant imports (clippy::single_component_path_imports) | Matthias Krüger | -1/+0 | |
| 2020-02-01 | syntax: reexport attr globals | Mazdak Farrokhzad | -1/+1 | |
| 2020-02-01 | syntax::print -> new crate rustc_ast_pretty | Mazdak Farrokhzad | -1/+1 | |
| 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 | -1/+1 | |
| 2020-01-30 | rustdoc: attempt full build for compile_fail test | Trevor Spiteri | -1/+1 | |
| Some code fails when doing a full build but does not fail when only emitting metadata. This commit makes sure compile_fail tests for such code behave as expected, that is, the test succeeds because the compilation fails. | ||||
| 2020-01-20 | Rollup merge of #68357 - ollie27:rustdoc_test_errors, r=GuillaumeGomez | Dylan DPC | -3/+7 | |
| rustdoc: Fix handling of compile errors when running `rustdoc --test` * Call `abort_if_errors` so all errors actually stop rustdoc. * Don't panic with "compiler aborted in rustdoc!", instead just exit to avoid the ugly panic message. * Use rlib as the crate type when searching for doctests matching what is used for doc generation so `#[no_std]` crates don't create "no global memory allocator" errors. Fixes #52243 Fixes #54010 r? @GuillaumeGomez | ||||
| 2020-01-18 | rustdoc: Fix handling of compile errors when running `rustdoc --test` | Oliver Middleton | -3/+7 | |
| * Call `abort_if_errors` so all errors actually stop rustdoc. * Don't panic with "compiler aborted in rustdoc!", instead just exit to avoid the ugly panic message. * Use rlib as the crate type when searching for doctests matching what is used for doc generation so `#[no_std]` crates don't create "no global memory allocator" errors. | ||||
| 2020-01-17 | Use named fields for `hir::ItemKind::Impl` | Dylan MacKenzie | -2/+2 | |
| 2020-01-15 | remove redundant clones, found by clippy | Matthias Krüger | -1/+1 | |
| 2020-01-13 | Auto merge of #67850 - GuillaumeGomez:err-codes-checkup, r=Mark-Simulacrum | bors | -2/+1 | |
| Error codes checkup and rustdoc test fix This PR does a few things: * fix how rustdoc checks that an error code has been thrown (it only checked for "E0XXX" so if it appeared in the output because the file has it in its name or wherever, it passed the test, which was incorrect) * fix the failing code examples that weren't throwing the expected error code | ||||
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -2/+2 | |
| 2020-01-08 | normalize rustc::hir::intravisit imports | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-08 | intravisit: abstract over HIR Map | Mazdak Farrokhzad | -1/+3 | |
| 2020-01-06 | Fix error code failure check in rustdoc test | Guillaume Gomez | -2/+1 | |
| 2020-01-06 | Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa | bors | -3/+4 | |
| Nix `rustc_hir` reexports in rustc::hir r? @Zoxc cc @Mark-Simulacrum | ||||
