Commit 35f8202
authored
fix(toml): Force script edition warnings on quiet (rust-lang#16848)
### What does this PR try to resolve?
With closing of rust-lang#16598, we were stating that "unpinned edition"
message should not be silenced.
However, by default all warnings are silenced with `--quiet`.
This also extends to `cargo foo.rs 2>&1 output.txt` because that implies
`--quiet` for now until we are better able to limit the output of Cargo
(see rust-lang#8889).
This tty-dependent verbosity was not necessarily intended to silence
this specific warning.
This changes the edition warning so it is "forced" to always be
displayed, regardless of verbosity, closing that hole for silencing it.
### How to test and review this PR?2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
| 639 | + | |
639 | 640 | | |
640 | 641 | | |
641 | 642 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| 417 | + | |
417 | 418 | | |
418 | 419 | | |
419 | 420 | | |
| |||
449 | 450 | | |
450 | 451 | | |
451 | 452 | | |
452 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
453 | 457 | | |
454 | 458 | | |
455 | 459 | | |
| |||
468 | 472 | | |
469 | 473 | | |
470 | 474 | | |
471 | | - | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
472 | 479 | | |
473 | 480 | | |
474 | 481 | | |
| |||
0 commit comments