Commit 0ddeea3
authored
Rollup merge of rust-lang#154437 - Enselic:build.warnings, r=jieyouxu
bootstrap.example.toml: Hint how to allow `build.warnings`
This commit turns **Actual** into **Expected** for the following problem:
### Steps
1. Do some quick and experimental local code changes in the compiler code.
2. Run `./x build`.
3. Observe failed build with _"error: warnings are denied by `build.warnings` configuration"_.
4. Decide to not care and want to allow warnings.
5. Search for `build.warnings` in **bootstrap.example.toml**.
### Actual
No hits. You get frustrated because didn't learn how to allow warnings. (The reason `build.warnings` is not mentioned in **bootstrap.example.toml** is of course because it is an unstable cargo [feature](https://doc.rust-lang.org/cargo/reference/unstable.html#buildwarnings) and not controlled by bootstrap, but you don't know that yet.)
### Expected
You get a hit and can easily see how to allow warnings.1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | | - | |
| 829 | + | |
| 830 | + | |
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
| |||
0 commit comments