Alexander Regueiro
e14ff9bac6
Fixed line numbers in stderr file.
2018-12-07 23:53:34 +00:00
Matthew Russo
f0f8aa9e05
adds DocTest filename variant, refactors doctest_offset out of source_map, fixes remaining test failures
2018-12-04 19:52:42 -05:00
Oliver Scherer
ff97569dd9
Update doc-ui tests
2018-12-04 10:06:05 +01:00
bors
c08840d5c3
Auto merge of #53586 - eddyb:top-lock, r=alexcrichton
...
Move Cargo.{toml,lock} to the repository root directory.
This should give us back `src/` in errors, panics and debuginfo, for free.
r? @Mark-Simulacrum @alexcrichton cc @michaelwoerister
2018-11-22 15:54:10 +00:00
Eduard-Mihai Burtescu
7c166f54b2
Move Cargo.{toml,lock} to the repository root directory.
2018-11-22 12:10:04 +02:00
Guillaume Gomez
9aedfd5a3b
Rollup merge of #55367 - GuillaumeGomez:private-item-doc-test-lint, r=QuietMisdreavus
...
lint if a private item has doctests
Fixes #55333 .
r? @QuietMisdreavus
2018-11-22 10:37:43 +01:00
Guillaume Gomez
675319e558
lint if a private item has doctests
2018-11-16 14:29:44 +01:00
QuietMisdreavus
aa3d7a4e6e
properly calculate spans for intra-doc link resolution errors
2018-11-14 18:14:31 -06:00
QuietMisdreavus
297cfea0ce
update rustdoc-ui/failed-doctest-output test
2018-11-02 17:17:02 -05:00
Josh Stone
f2443a9b20
Set RUST_BACKTRACE=0 for rustdoc-ui/failed-doctest-output.rs
...
This UI test is sensitive to backtrace output, so it should make sure
that backtraces are not enabled by the environment.
2018-10-23 15:38:31 -07:00
bors
40123a1257
Auto merge of #54349 - GuillaumeGomez:no-example-lint, r=QuietMisdreavus
...
[rustdoc] Add lint for doc without codeblocks
Fixes #53805 .
r? @QuietMisdreavus
2018-10-18 09:53:29 +00:00
bors
9d7f0da367
Auto merge of #54939 - pnkfelix:issue-54478-dont-prefer-dynamic-in-doc-tests, r=QuietMisdreavus
...
rustdoc: don't prefer dynamic linking in doc tests
This is an attempt to address the regression in #54478
This may be a case where the cure is worse than the disease, at least in the short term...
cc @alexcrichton
2018-10-17 06:42:15 +00:00
bors
849a0e9c40
Auto merge of #53933 - GuillaumeGomez:codeblock-error-display, r=QuietMisdreavus
...
Improve error display for codeblocks in rustdoc
Part of #53919 .
r? @QuietMisdreavus
2018-10-12 09:23:10 +00:00
Alex Crichton
cbca688341
Update a rustdoc ui test whose output has changed
2018-10-09 15:03:25 -07:00
Guillaume Gomez
26479c4637
Add test for docs without examples
2018-10-09 17:55:12 +02:00
Guillaume Gomez
322e46916e
Add a sentence before rustc errors
2018-09-29 18:34:49 +02:00
Guillaume Gomez
f7240e1c74
Improve error display for codeblocks in rustdoc
2018-09-29 18:14:34 +02:00
QuietMisdreavus
93321671ca
add -Zui-testing to rustdoc
2018-09-19 18:39:39 -05:00
Pietro Albini
f52ef3b839
Rollup merge of #52835 - GuillaumeGomez:ice-rustdoc-links, r=eddyb
...
Fix Alias intra doc ICE
Fixes #52611 .
cc @QuietMisdreavus
r? @varkor
2018-08-01 21:46:27 +02:00
Mark Rousskov
0f680b38d0
Fixup test case
2018-07-31 17:55:12 -06:00
Guillaume Gomez
d5f1f70a8e
Fix Alias intra doc ICE
2018-07-30 20:57:27 +02:00
QuietMisdreavus
d3569d2da8
add failure-status to rustdoc doctest ui test
2018-07-20 10:13:38 -05:00
QuietMisdreavus
d965371d86
normalize test output so it can be run from repo root
2018-07-20 10:13:38 -05:00
QuietMisdreavus
ffbd2b931e
update stdout file with test path normalization
2018-07-20 10:13:38 -05:00
QuietMisdreavus
41e7ac16c4
report doctest compile failures correctly
2018-07-20 10:13:38 -05:00
QuietMisdreavus
33654195a1
add ui test for failing doctest
2018-07-20 10:13:38 -05:00
Guillaume Gomez
1ff7f04120
Fix rustdoc run failures by shutting down definitely some lints
2018-07-05 17:18:45 +02: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
Guillaume Gomez
b000cf0726
Add lint for intra link resolution failure
2018-06-09 14:07:25 +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
QuietMisdreavus
10ac995024
drop unnecessary "warning" from warning text
2018-05-14 15:34:52 -05:00
QuietMisdreavus
bb6224bc84
add ui test for rustdoc's deprecated attributes
2018-05-14 12:38:27 -05:00
Guillaume Gomez
05275dafaa
Remove unwanted auto-linking and update
2018-04-16 23:37:11 +02:00
Guillaume Gomez
16a39382e2
Fix nits
2018-04-16 23:37:11 +02:00
Guillaume Gomez
b2192ae157
Add rustdoc-ui test suite
2018-04-16 23:37:11 +02:00