Commit d4db892
committed
fix(toml): Force script edition warnings on quiet
With closing of #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 #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.1 parent 3eb35a3 commit d4db892
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
640 | 640 | | |
641 | 641 | | |
642 | 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