Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #14413 - ctz:master, r=epage
Correct diagnostic for `TomlDebugInfo` This is missing the friendly aliases introduced in 3dbb474. ### What does this PR try to resolve? I wrote: ``` [profile.bench] debug = "all" ``` I got this diagnostic: ``` error: invalid value: string "all", expected a boolean, 0, 1, 2, "line-tables-only", or "line-directives-only" --> Cargo.toml:31:9 | 31 | debug = "all" | ^^^^^ | ``` I meant to write "full", as [documented here](https://doc.rust-lang.org/cargo/reference/profiles.html#debug), but that wasn't mentioned in the diagnostic. ### How should we test and review this PR? Updated the existing tests for this diagnostic.
- Loading branch information