diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-12 01:15:56 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-12 01:15:56 +0900 |
| commit | 3b47d337e04a24d5e8cf2d25864d7e9fa949ca0a (patch) | |
| tree | 0323364d4d49b120d954bc2545b83df1716ab9a6 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | dddebf94bccddaa7b8836380c1d90b34553d79d0 (diff) | |
| parent | 47fe696d8f247d91c67068c25bb91767713aeb60 (diff) | |
| download | rust-3b47d337e04a24d5e8cf2d25864d7e9fa949ca0a.tar.gz rust-3b47d337e04a24d5e8cf2d25864d7e9fa949ca0a.zip | |
Rollup merge of #85800 - BoxyUwU:const-param-default-diagnostics, r=oli-obk
Fix some diagnostic issues with const_generics_defaults feature gate This PR makes a few changes: - print out const param defaults in "lifetime ordering" errors rather than discarding them - update `is_simple_text` to account for const params when checking if a type has no generics, this was causing a note to be failed to add to an error message - fixes some diagnostic wording that incorrectly said there was ordering restrictions between type/const params despite the `const_generics_defaults` feature gate is active
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
