about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-06-23 06:02:08 -0600
committerGitHub <noreply@github.com>2017-06-23 06:02:08 -0600
commit377ff895a5cc965608712294ad99a12c89ed7382 (patch)
tree18b1ba146d5b56fc9a570397226474187a109062 /src/test/ui/thinlto
parentbd32b1ba0d2d51a7e8505c1d3e37d17d3ba12843 (diff)
parent9addd3ba657e0d37c3fa5296262474db91d26d8f (diff)
downloadrust-377ff895a5cc965608712294ad99a12c89ed7382.tar.gz
rust-377ff895a5cc965608712294ad99a12c89ed7382.zip
Rollup merge of #42777 - kennytm:kill-ignore-doctest, r=estebank
Remove most "```ignore" doc tests.

Unconditional ` ```ignore ` doc tests lead to outdated examples (e.g. https://github.com/rust-lang/rust/issues/42729#issuecomment-309346572). This PR tries to change all existing ` ```ignore ` tests into one of the following:

* Add import and declarations to ensure the code is run-pass
* If the code is not Rust, change to ` ```text `/` ```sh `/` ```json `/` ```dot `
* If the code is expected compile-fail, change to ` ```compile_fail `
* If the code is expected run-fail, change to ` ```should_panic `
* If the code can type-check but cannot link/run, change to ` ```no_run `
* Otherwise, add an explanation after the ` ```ignore `

The `--explain` handling is changed to cope with hidden lines from the error index.

Tidy is changed to reject any unexplained ` ```ignore ` and ` ```rust,ignore `.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions