rust/compiler/rustc_ast_passes/src
Yuki Okushi 3b47d337e0
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
2021-06-12 01:15:56 +09:00
..
ast_validation.rs Make lifetime ordering error pretty print const param defaults 2021-05-29 03:54:32 +01:00
feature_gate.rs Add support for using qualified paths with structs in expression and pattern 2021-06-10 13:18:41 +02:00
lib.rs Remove unused feature gates 2021-05-31 13:55:43 +02:00
node_count.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
show_span.rs rustc_ast: Do not panic by default when visiting macro calls 2020-11-03 20:38:20 +03:00