Esteban Küber
|
cc9631a371
|
When displaying multispans, ignore empty lines adjacent to ...
```
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-03-18 16:25:36 +00:00 |
|
Guillaume Gomez
|
8e817af3ae
|
Update ui tests
|
2024-02-29 14:43:43 +01:00 |
|
sisungo
|
da37c8f1f2
|
Fix tests that are affected by this change
|
2024-02-29 14:59:10 +08:00 |
|
许杰友 Jieyou Xu (Joe)
|
6e48b96692
|
[AUTO_GENERATED] Migrate compiletest to use ui_test -style //@ directives
|
2024-02-22 16:04:04 +00:00 |
|
Ralf Jung
|
1254ee48c4
|
remove illegal_floating_point_literal_pattern lint
|
2024-01-26 17:25:02 +01:00 |
|
George-lewis
|
d56cdd48cb
|
Bless tests
Update tests
|
2024-01-13 12:46:58 -05:00 |
|
Guillaume Gomez
|
58327c10c5
|
Add a test for a codeblock with multiple invalid attributes
|
2023-12-12 19:41:09 +01:00 |
|
Guillaume Gomez
|
bb0fd665a8
|
Follow guidelines for lint suggestions
|
2023-12-12 15:43:20 +01:00 |
|
Guillaume Gomez
|
98aa20b0a7
|
Add test for rustX codeblock attribute
|
2023-12-12 15:42:49 +01:00 |
|
Nilstrieb
|
87a354b15d
|
Bless rustdoc-ui tests
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
|
2023-11-24 19:15:52 +01:00 |
|
Alex Macleod
|
5453a9f34d
|
Add a note to duplicate diagnostics
|
2023-10-05 01:04:41 +00:00 |
|
Michael Howell
|
3df9b4d65d
|
rustdoc: use unicode-aware checks for redundant explicit link fastpath
Fixes #115064
|
2023-08-21 14:25:26 -07:00 |
|
Kyle Lin
|
25919b09a9
|
Add regression test for inline doc
|
2023-08-18 15:31:36 +08:00 |
|
Kyle Lin
|
ecb26376e5
|
narrow down the lint trigger constraint
|
2023-08-18 15:19:22 +08:00 |
|
Kyle Lin
|
fe17ae3af6
|
add missing deny lint
|
2023-08-18 15:19:18 +08:00 |
|
Kyle Lin
|
0e2f2cccd7
|
Add check-pass tests and fix test behavior
|
2023-08-18 15:19:18 +08:00 |
|
Kyle Lin
|
5ce6cc7df3
|
Still resolving rustdoc resolution panicking
|
2023-08-18 15:19:17 +08:00 |
|
Kyle Lin
|
46df95817d
|
Support Reference & ReferenceUnknown link lint
|
2023-08-18 15:19:16 +08:00 |
|
Kyle Lin
|
c7369891ba
|
Refactor lint from rustc to rustdoc
|
2023-08-18 15:19:15 +08:00 |
|
Kyle Lin
|
e583318aa8
|
fix trailing whitespace
|
2023-08-18 15:19:12 +08:00 |
|
Kyle Lin
|
f1b23f29db
|
bless test output
|
2023-08-18 15:19:11 +08:00 |
|
Kyle Lin
|
1c6b237f9e
|
add more tests
|
2023-08-18 15:19:11 +08:00 |
|
Kyle Lin
|
65e24a57bb
|
Fix resolution caching
|
2023-08-18 15:19:10 +08:00 |
|
Kyle Lin
|
da582a71d2
|
Add warn level lint redundant_explicit_links
- Currently it will panic due to the resolution's caching issue
|
2023-08-18 15:19:08 +08:00 |
|
Lukas Markeffsky
|
637ea3f746
|
validate doc(masked)
|
2023-07-24 18:04:35 +02:00 |
|
jyn
|
5da288f842
|
move lint tests into subdirectories
|
2023-04-29 11:36:19 -05:00 |
|