about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/invalid-syntax.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-169/+0
2022-10-03Fix rustdoc ICE in invalid_rust_codeblocks lintNilstrieb-1/+16
The diagnostic message extraction code didn't handle translations yet.
2022-10-01bless rustdoc-uiMaybe Waffle-1/+1
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-5/+5
Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212
2021-08-11Modify structured suggestion outputEsteban Küber-5/+5
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2021-05-17Rename INVALID_RUST_CODEBLOCK{,S}Joshua Nelson-1/+1
2021-05-17Add back missing help for ignore blocksJoshua Nelson-2/+2
This also gives a better error message when a span is missing.
2021-05-17New rustdoc lint to respect -Dwarnings correctlyAlexis Bourget-0/+1
This adds a new lint to `rustc` that is used in rustdoc when a code block is empty or cannot be parsed as valid Rust code. Previously this was unconditionally a warning. As such some documentation comments were (unknowingly) abusing this to pass despite the `-Dwarnings` used when compiling `rustc`, this should not be the case anymore.
2021-01-02Update rustdoc-ui test outputGuillaume Gomez-2/+4
2020-04-11rustc: Add a warning count upon completionRoccoDev-0/+2
2020-01-17rustdoc: Catch fatal errors when syntax highlightingOliver Middleton-0/+15
For some errors the lexer will unwind so we need to handle that in addition to handling `token::Unknown`.
2020-01-04buffer lexer errors in rustdoc syntax checkingAndy Russell-109/+19
2019-11-10Add warning annotations to rustdoc-ui testsTomasz Miąsko-10/+10
2019-11-03use silent emitter for rustdoc highlighting passAndy Russell-64/+0
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+11
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-09-07rustdoc: fix diagnostic with mixed code block stylesEric Huss-0/+18
2019-08-19librustdoc: warn on empty doc testTom Milligan-0/+22
2019-08-05adapt rustdoc to infailable lexerAleksey Kladov-14/+154
2019-03-25compiletest: make path normalization smarterAndy Russell-11/+11
2019-01-14rustdoc: check code block syntax in early passAndy Russell-9/+96
2018-09-29Add a sentence before rustc errorsGuillaume Gomez-0/+1
2018-09-29Improve error display for codeblocks in rustdocGuillaume Gomez-0/+9