| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-02 | cleanup: `config::CrateType` -> `CrateType` | Vadim Petrochenkov | -9/+5 | |
| 2020-04-23 | Modify `as_local_hir_id` to return a bare `HirId` | marmeladema | -1/+1 | |
| 2020-04-23 | Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId` | marmeladema | -1/+1 | |
| 2020-04-23 | librustc_middle: return LocalDefId instead of DefId in local_def_id | marmeladema | -1/+1 | |
| 2020-04-23 | Create new rustdoc lint to check for code blocks tags | Guillaume Gomez | -1/+6 | |
| 2020-04-19 | Replace uses of `parse_opt_*` with `parse_*` where possible. | Nicholas Nethercote | -2/+2 | |
| This lets us specify the default at the options declaration point, instead of using `.unwrap(default)` or `None | Some(default)` at some use point far away. It also makes the code more concise. | ||||
| 2020-04-10 | librustc_middle: return LocalDefId instead of DefId in opt_local_def_id | marmeladema | -2/+5 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-22 | Update lint name to follow convention | Guillaume Gomez | -3/+3 | |
| 2020-03-22 | Update to new diagnostic | Guillaume Gomez | -8/+11 | |
| 2020-03-22 | Improve code readability | Guillaume Gomez | -13/+12 | |
| 2020-03-22 | rename NO_CRATE_LEVEL_DOC lint into MISSING_CRATE_LEVEL_DOC | Guillaume Gomez | -4/+3 | |
| 2020-03-22 | Add lint when no doc is present at the crate-level | Guillaume Gomez | -0/+19 | |
| 2020-03-16 | use direct imports for `rustc::{lint, session}`. | Mazdak Farrokhzad | -11/+10 | |
| 2020-03-02 | Put back output-format option for show-coverage | Guillaume Gomez | -0/+2 | |
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -1/+1 | |
| 2020-02-26 | don't take redundant references to operands | Matthias Krüger | -1/+1 | |
| 2020-02-22 | Rename CodeMap to SourceMap follow up | Maxim Zholobak | -1/+1 | |
| 2020-02-09 | Make issue references consistent | Matthias Prechtl | -1/+4 | |
| 2020-02-04 | remove redundant imports (clippy::single_component_path_imports) | Matthias Krüger | -1/+0 | |
| 2020-02-01 | Move builtin attribute logic to new rustc_attr crate. | Mazdak Farrokhzad | -1/+1 | |
| For now, this is all the crate contains, but more attribute logic & types will be moved there over time. | ||||
| 2020-01-27 | don't clone types that are copy, round two. | Matthias Krüger | -2/+2 | |
| 2020-01-14 | Rollup merge of #67989 - ollie27:rustdoc_unstable, r=GuillaumeGomez | Yuki Okushi | -2/+1 | |
| rustdoc: Don't allow `#![feature(...)]` on stable or beta Fixes #67647 r? @GuillaumeGomez | ||||
| 2020-01-11 | lints: promote levels.rs to lint.rs & extract passes.rs | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -5/+8 | |
| 2020-01-09 | Rollup merge of #67875 - dtolnay:hidden, r=GuillaumeGomez | Yuki Okushi | -9/+17 | |
| Distinguish between private items and hidden items in rustdoc I believe rustdoc should not be conflating private items (visibility lower than `pub`) and hidden items (attribute `doc(hidden)`). This matters now that Cargo is passing --document-private-items by default for bin crates. In bin crates that rely on macros, intentionally hidden implementation details of the macros can overwhelm the actual useful internal API that one would want to document. This PR restores the strip-hidden pass when documenting private items, and introduces a separate unstable --document-hidden-items option to skip the strip-hidden pass. The two options are orthogonal to one another. Fixes #67851. Closes #60884. | ||||
| 2020-01-07 | rustdoc: Don't allow `#![feature(...)]` on stable or beta | Oliver Middleton | -2/+1 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -3/+3 | |
| 2020-01-04 | Auto merge of #67803 - Centril:librustc_hir, r=Zoxc | bors | -1/+1 | |
| Extract `rustc_hir` out of `rustc` The new crate contains: ```rust pub mod def; pub mod def_id; mod hir; pub mod hir_id; pub mod itemlikevisit; pub mod pat_util; pub mod print; mod stable_hash_impls; pub use hir::*; pub use hir_id::*; pub use stable_hash_impls::HashStableContext; ``` Remains to be done in follow-up PRs: - Move `rustc::hir::map` into `rustc_hir_map` -- this has to be a separate crate due to the `dep_graph` (blocked on https://github.com/rust-lang/rust/pull/67761). - Move references to `rustc::hir` to `rustc_hir` where possible. cc https://github.com/rust-lang/rust/issues/65031 r? @Zoxc | ||||
| 2020-01-04 | Distinguish between private items and hidden items in rustdoc | David Tolnay | -9/+17 | |
| I believe rustdoc should not be conflating private items (visibility lower than `pub`) and hidden items (attribute `doc(hidden)`). This matters now that Cargo is passing --document-private-items by default for bin crates. In bin crates that rely on macros, intentionally hidden implementation details of the macros can overwhelm the actual useful internal API that one would want to document. This PR restores the strip-hidden pass when documenting private items, and introduces a separate unstable --document-hidden-items option to skip the strip-hidden pass. The two options are orthogonal to one another. | ||||
| 2020-01-04 | Rollup merge of #67709 - petrochenkov:nodedup2, r=Centril | Dylan DPC | -21/+8 | |
| Introduce an option for disabling deduplication of diagnostics With the intent of using it in UI tests (https://github.com/rust-lang/rust/pull/67122). The option is boolean (`-Z deduplicate-diagnostics=yes/no`) and can be specified multiple times with later values overriding earlier values (`-Z deduplicate-diagnostics=no -Z deduplicate-diagnostics=yes` == `-Z deduplicate-diagnostics=yes`), so it can be set in a hierarchical way, e.g. UI testing infra may disable the deduplication by default with specific tests being able to enable it back. | ||||
| 2020-01-04 | canonicalize FxHash{Map,Set} imports | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-03 | Address review comments + Fix rebase | Vadim Petrochenkov | -2/+2 | |
| 2020-01-03 | rustdoc: Respect diagnostic debugging options | Vadim Petrochenkov | -21/+8 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -215/+225 | |
| 2019-12-09 | Add options to --extern flag. | Eric Huss | -1/+3 | |
| 2019-11-30 | Rollup merge of #66895 - Centril:rustc_feature, r=oli-obk | Mazdak Farrokhzad | -1/+1 | |
| Feature gating *declarations* => new crate `rustc_feature` This PR moves the data-oriented parts of feature gating into its own crate, `rustc_feature`. The parts consist of some data types as well as `accepted`, `active`, `removed`, and `builtin_attrs`. Feature gate checking itself remains in `syntax::feature_gate::check`. The parts which define how to emit feature gate errors could probably be moved to `rustc_errors` or to the new `rustc_session` crate introduced in #66878. The visitor itself could probably be moved as a pass in `rustc_passes` depending on how the dependency edges work out. The PR also contains some drive-by cleanup of feature gate checking. As such, the PR probably best read commit-by-commit. r? @oli-obk cc @petrochenkov cc @Mark-Simulacrum | ||||
| 2019-11-30 | move UnstableFeatures -> rustc_feature | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-26 | Review nits. | Camille GILLOT | -2/+2 | |
| 2019-11-26 | Reduce righward drift. | Camille GILLOT | -129/+127 | |
| 2019-11-25 | Don't move stuff out of Compiler::enter. | Camille GILLOT | -104/+102 | |
| 2019-11-25 | Pass Queries by reference. | Camille GILLOT | -2/+2 | |
| 2019-11-24 | Tidy. | Camille GILLOT | -4/+5 | |
| 2019-11-24 | Isolate compiler queries inside the Queries type. | Camille GILLOT | -25/+29 | |
| 2019-11-21 | Rename the cfg attribute from rustdoc to doc | Guillaume Gomez | -1/+1 | |
