| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-10 | rustdoc: Rename invalid_codeblock_attribute lint to be plural | Oliver Middleton | -6/+6 | |
| 2020-04-24 | Add rustdoc regression test for the unused_braces lint | flip1995 | -0/+14 | |
| 2020-04-23 | Rollup merge of #71408 - GuillaumeGomez:check-code-blocks-tags, r=kinnison | Dylan DPC | -0/+493 | |
| Check code blocks tags Fixes #71347. Explanations here: I realized recently that it was a common issue to confuse/misspell tags on code blocks. This is actually quite a big issue since it generally ends up in a code blocks being ignored since it's not being considered as a rust one. With this new warning, users will at least be notified about it. PS: some improvements can be done on the error rendering but considering how big the PR already is, I think it's better to do it afterwards. r? @ollie27 cc @rust-lang/rustdoc | ||||
| 2020-04-23 | Add UI tests for new rustdoc lint | Guillaume Gomez | -0/+493 | |
| 2020-04-19 | Moving all rustdoc-ui tests to check-pass | Val Markovic | -19/+19 | |
| These were all build-pass before and don't seem to need it. Helps with #62277 | ||||
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -0/+8 | |
| 2020-03-28 | Auto merge of #66938 - GuillaumeGomez:lint-for-no-crate-level-doc, r=Dylan-DPC | bors | -0/+15 | |
| Add lint when no doc is present at the crate-level Follow-up of #66267. r? @kinnison | ||||
| 2020-03-22 | fix one more test | mark | -1/+1 | |
| 2020-03-22 | Update lint name to follow convention | Guillaume Gomez | -3/+3 | |
| 2020-03-22 | Update tests | Guillaume Gomez | -8/+7 | |
| 2020-03-22 | Add lint when no doc is present at the crate-level | Guillaume Gomez | -0/+16 | |
| 2020-03-14 | resolve: Fix regression in resolution of raw keywords in paths | Vadim Petrochenkov | -5/+5 | |
| 2020-03-02 | remove output-format test | Guillaume Gomez | -10/+0 | |
| 2020-03-02 | Replace ToJson with serde | Guillaume Gomez | -8/+18 | |
| 2020-03-02 | add tests for rustdoc output-format json | Guillaume Gomez | -0/+34 | |
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -2/+2 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -0/+1 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -13/+13 | |
| 2020-01-20 | Rollup merge of #68357 - ollie27:rustdoc_test_errors, r=GuillaumeGomez | Dylan DPC | -0/+62 | |
| 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 | -0/+62 | |
| * 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 | rustdoc: Catch fatal errors when syntax highlighting | Oliver Middleton | -0/+21 | |
| For some errors the lexer will unwind so we need to handle that in addition to handling `token::Unknown`. | ||||
| 2020-01-12 | Update `output-default.json` and rustdoc test | varkor | -1/+1 | |
| 2020-01-04 | buffer lexer errors in rustdoc syntax checking | Andy Russell | -109/+19 | |
| 2019-12-04 | rustdoc: Add test for fixed issue | Oliver Middleton | -0/+15 | |
| 2019-11-27 | Auto merge of #66675 - GuillaumeGomez:support-anchors-intra-doc-links, ↵ | bors | -28/+105 | |
| r=kinnison Support anchors intra doc links Fixes #62833 Part of #43466. cc @ollie27 r? @kinnison | ||||
| 2019-11-26 | Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPC | Tyler Mandry | -16/+16 | |
| Various tweaks to diagnostic output | ||||
| 2019-11-25 | Update error messages | Guillaume Gomez | -36/+36 | |
| 2019-11-24 | Fix some rustdoc error capitalization | Esteban Küber | -16/+16 | |
| 2019-11-23 | Add test for anchors | Guillaume Gomez | -0/+77 | |
| 2019-11-21 | Point at type in `let` assignment on type errors | Esteban Küber | -1/+3 | |
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -1/+1 | |
| 2019-11-18 | Remove E0308 note when primary label has all info | Esteban Küber | -3/+0 | |
| 2019-11-13 | Rollup merge of #66166 - GuillaumeGomez:rename-rustdoc-to-doc, r=QuietMisdreavus | Yuki Okushi | -3/+3 | |
| rename cfg(rustdoc) into cfg(doc) Needed by https://github.com/rust-lang/rust/pull/61351 r? @QuietMisdreavus | ||||
| 2019-11-10 | Add warning annotations to rustdoc-ui tests | Tomasz Miąsko | -46/+67 | |
| 2019-11-06 | rename cfg(rustdoc) into cfg(doc) | Guillaume Gomez | -3/+3 | |
| 2019-11-03 | use silent emitter for rustdoc highlighting pass | Andy Russell | -64/+0 | |
| 2019-10-29 | stabilize cfg(doctest) | Guillaume Gomez | -4/+2 | |
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+15 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-10-21 | Rollup merge of #65314 - tmiasko:rustdoc-z, r=ollie27 | Mazdak Farrokhzad | -15/+15 | |
| rustdoc: forward -Z options to rustc Currently rustdoc does not forward `-Z` options to rustc when building test executables. This makes impossible to use rustdoc to run test samples when crate under test is instrumented with one of sanitizers `-Zsanitizer=...`, since the final linking step will not include sanitizer runtime library. Forward `-Z` options to rustc to solve the issue. Helps with #43031. | ||||
| 2019-10-11 | rustdoc: forward -Z options to rustc | Tomasz Miąsko | -15/+15 | |
| Currently rustdoc does not forward `-Z` options to rustc when building test executables. This makes impossible to use rustdoc to run test samples when crate under test is instrumented with one of sanitizers `-Zsanitizer=...`, since the final linking step will not include sanitizer runtime library. Forward `-Z` options to rustc to solve the issue. Helps with #43031. | ||||
| 2019-10-10 | Add and update rustdoc ui test | Guillaume Gomez | -2/+24 | |
| 2019-10-10 | Don't pass doctest feature by default | Guillaume Gomez | -3/+2 | |
| 2019-10-01 | Add new rustdoc-ui test to ensuire that rustdoc feature isn't passed down to ↵ | Guillaume Gomez | -0/+20 | |
| doctests | ||||
| 2019-09-07 | rustdoc: fix diagnostic with mixed code block styles | Eric Huss | -0/+26 | |
| 2019-08-31 | Auto merge of #63703 - tommilligan:warn-empty-doctest, r=ollie27 | bors | -0/+32 | |
| rustdoc: warn on empty doc test Closes #60319. A doc test that only contains whitespace should result in a warning. This PR adds detection of empty doc tests to `check-code-block-syntax`, as having an invalid doc test is mutually exclusive with an empty doc test. | ||||
| 2019-08-24 | Improve Rustdoc's handling of procedural macros | Aaron Hill | -7/+8 | |
| Fixes #58700 Fixes #58696 Fixes #49553 Fixes #52210 This commit removes the special rustdoc handling for proc macros, as we can now retrieve their span and attributes just like any other item. A new command-line option is added to rustdoc: `--crate-type`. This takes the same options as rustc's `--crate-type` option. However, all values other than `proc-macro` are treated the same. This allows Rustdoc to enable 'proc macro mode' when handling a proc macro crate. In compiletest, a new 'rustdoc-flags' option is added. This allows us to pass in the '--proc-macro-crate' flag in the absence of Cargo. I've opened [an additional PR to Cargo](https://github.com/rust-lang/cargo/pull/7159) to support passing in this flag. These two PRS can be merged in any order - the Cargo changes will not take effect until the 'cargo' submodule is updated in this repository. | ||||
| 2019-08-19 | librustdoc: warn on empty doc test | Tom Milligan | -0/+32 | |
| 2019-08-05 | adapt rustdoc to infailable lexer | Aleksey Kladov | -14/+154 | |
| 2019-08-02 | Replace `abstract type` with type alias `impl Trait` | varkor | -1/+1 | |
| 2019-08-02 | Replace "existential" by "opaque" | varkor | -3/+4 | |
