Guillaume Gomez
c1ea1fd2b0
Update error messages
2019-11-25 14:24:53 +01:00
Tomasz Miąsko
70b146c2cb
Add warning annotations to rustdoc-ui tests
2019-11-10 21:01:02 +01:00
Samy Kacimi
e5e1397adb
normalize use of backticks in compiler messages for librustc/lint
...
https://github.com/rust-lang/rust/issues/60532
2019-07-17 22:49:48 +02:00
Andy Russell
695dfe7dff
compiletest: make path normalization smarter
2019-03-25 01:06:45 -04:00
Andy Russell
906ec8acce
move collapse and unindent docs passes earlier
2019-02-23 14:53:51 -05:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Andy Russell
56413ecffc
fix intra-link resolution spans in block comments
...
This commit improves the calculation of code spans for intra-doc
resolution failures. All sugared doc comments should now have the
correct spans, including those where the comment is longer than the
docs.
It also fixes an issue where the spans were calculated incorrectly for
certain unsugared doc comments. The diagnostic will now always use the
span of the attributes, as originally intended.
Fixes #55964 .
2018-12-10 21:08:26 -05:00
QuietMisdreavus
93321671ca
add -Zui-testing to rustdoc
2018-09-19 18:39:39 -05:00
Guillaume Gomez
d2a4e42959
Rename intra-doc lint
2018-06-13 23:30:34 +02:00
Guillaume Gomez
e6c7868fb2
Update help message to escape square brackets
2018-06-13 21:18:56 +02:00
Guillaume Gomez
2e343f384f
Add help for intra-link lint
2018-06-13 21:18:55 +02:00
Guillaume Gomez
8c43c93e6d
Fix options issues
2018-06-13 21:18:55 +02:00
Esteban Küber
7d0b6b75f0
When unable to sinthesize link span, fallback to previous behavior
2018-06-06 09:38:47 -07:00
Esteban Küber
507dfd2148
Use spans pointing at the inside of a rustdoc attribute
2018-06-06 08:49:42 -07:00
kennytm
2886aca232
Show which line the link is coming from.
2018-06-03 18:25:04 +08:00
kennytm
bc20eb6fbc
Point to the rustdoc attribute where intralink resolution failed.
2018-06-03 15:51:31 +08:00
Guillaume Gomez
b2192ae157
Add rustdoc-ui test suite
2018-04-16 23:37:11 +02:00