]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #83705 - jyn514:theme-error, r=GuillaumeGomez
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 5 Apr 2021 13:48:42 +0000 (15:48 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Apr 2021 13:48:42 +0000 (15:48 +0200)
Give a better error when --theme is not a CSS file

Before:

```
error: invalid argument: "bacon.toml"
```

After:
```
error: invalid argument: "bacon.toml"
  |
  = help: arguments to --theme must be CSS files
```

cc https://github.com/rust-lang/rust/pull/83478

1  2 
src/librustdoc/config.rs
src/tools/compiletest/src/runtest.rs

Simple merge
Simple merge