cargo/tests
bors f772ec0224 Auto merge of #13505 - epage:edition-warn, r=weihanglo
feat(toml): Warn on unset Edition

### What does this PR try to resolve?

On [Internals](https://internals.rust-lang.org/t/idea-rustc-cargo-should-warn-on-unspecified-edition/20309), the idea came up for warning on unset Edition.

Besides helping people who forget to set the Edition, this creates symmetry between `Cargo.toml` and cargo scripts (#12207).  While the default is different in each case, we are making the default obvious and guiding people away from it.

### How should we test and review this PR?

There are separate commits for adding tests (and refactors) so the changes in behavior will be more obvious

### Additional information

This builds on
- #13499
- #13504
2024-03-01 22:57:35 +00:00
..
build-std feat: Add "-Zpublic-dependency" for public-dependency feature 2024-02-27 05:10:17 +08:00
testsuite Auto merge of #13505 - epage:edition-warn, r=weihanglo 2024-03-01 22:57:35 +00:00