about summary refs log tree commit diff
path: root/tests/rustdoc-ui/lints
AgeCommit message (Collapse)AuthorLines
2024-03-18When displaying multispans, ignore empty lines adjacent to `...`Esteban Küber-2/+0
``` error[E0308]: `match` arms have incompatible types --> tests/ui/codemap_tests/huge_multispan_highlight.rs:98:18 | 6 | let _ = match true { | ---------- `match` arms have incompatible types 7 | true => ( | _________________- 8 | | // last line shown in multispan header ... | 96 | | 97 | | ), | |_________- this is found to be of type `()` 98 | false => " | __________________^ ... | 119 | | 120 | | ", | |_________^ expected `()`, found `&str` error[E0308]: `match` arms have incompatible types --> tests/ui/codemap_tests/huge_multispan_highlight.rs:215:18 | 122 | let _ = match true { | ---------- `match` arms have incompatible types 123 | true => ( | _________________- 124 | | 125 | | 1 // last line shown in multispan header ... | 213 | | 214 | | ), | |_________- this is found to be of type `{integer}` 215 | false => " | __________________^ 216 | | 217 | | 218 | | 1 last line shown in multispan ... | 237 | | 238 | | ", | |_________^ expected integer, found `&str` ```
2024-02-29Update ui testsGuillaume Gomez-120/+28
2024-02-29Fix tests that are affected by this changesisungo-2/+2
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-20/+20
2024-01-26remove illegal_floating_point_literal_pattern lintRalf Jung-7/+6
2024-01-13Bless testsGeorge-lewis-0/+2
Update tests
2023-12-12Add a test for a codeblock with multiple invalid attributesGuillaume Gomez-1/+39
2023-12-12Follow guidelines for lint suggestionsGuillaume Gomez-15/+31
2023-12-12Add test for `rustX` codeblock attributeGuillaume Gomez-1/+20
2023-11-24Bless rustdoc-ui testsNilstrieb-4/+4
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-29/+4
2023-08-21rustdoc: use unicode-aware checks for redundant explicit link fastpathMichael Howell-0/+18
Fixes #115064
2023-08-18Add regression test for inline docKyle Lin-0/+13
2023-08-18narrow down the lint trigger constraintKyle Lin-0/+1
2023-08-18add missing deny lintKyle Lin-0/+2
2023-08-18Add check-pass tests and fix test behaviorKyle Lin-0/+4
2023-08-18Still resolving rustdoc resolution panickingKyle Lin-6/+6
2023-08-18Support Reference & ReferenceUnknown link lintKyle Lin-1/+909
2023-08-18Refactor lint from rustc to rustdocKyle Lin-74/+327
2023-08-18fix trailing whitespaceKyle Lin-2/+2
2023-08-18bless test outputKyle Lin-9/+45
2023-08-18add more testsKyle Lin-0/+8
2023-08-18Fix resolution cachingKyle Lin-1/+113
2023-08-18Add warn level lint `redundant_explicit_links`Kyle Lin-0/+6
- Currently it will panic due to the resolution's caching issue
2023-07-24validate `doc(masked)`Lukas Markeffsky-7/+57
2023-04-29move lint tests into subdirectoriesjyn-0/+2060