about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-01-03 17:09:09 +0100
committerGitHub <noreply@github.com>2021-01-03 17:09:09 +0100
commitfd0dbac943a12744af47a3bd327bcb4e16a9f1b6 (patch)
treee9c3c7e625f1d0a97e9d3868df4dd596f38ee368 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent2072e117304da97ea1c7df052519f6dc3777b7ff (diff)
parentda3eef61f521f442d02235da0ebc6abaec614e22 (diff)
downloadrust-fd0dbac943a12744af47a3bd327bcb4e16a9f1b6.tar.gz
rust-fd0dbac943a12744af47a3bd327bcb4e16a9f1b6.zip
Rollup merge of #80617 - GuillaumeGomez:detect-invalid-rustdoc-test-commands, r=jyn514
Detect invalid rustdoc test commands

Fixes #80570.

There are now errors displayed in case of bad command syntax:

```
---- [rustdoc] rustdoc/remove-url-from-headings.rs stdout ----

error: htmldocck failed!
status: exit code: 1
command: "/usr/bin/python" "/home/imperio/rust/rust/src/etc/htmldocck.py" "/home/imperio/rust/rust/build/x86_64-unknown-linux-gnu/test/rustdoc/remove-url-from-headings" "/home/imperio/rust/rust/src/test/rustdoc/remove-url-from-headings.rs"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
3: Invalid command: `!`@has`,` (try with ``@!has`)`
	// !`@has` - '//a[`@href="http://a.a"]'`

Encountered 1 errors
```

r? `@camelid`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions