1
Fork 0
rust/compiler/rustc_middle/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
..
dep_graph Revert "Merge CrateDisambiguator into StableCrateId" 2021-06-07 10:37:45 +02:00
hir Revert "Merge CrateDisambiguator into StableCrateId" 2021-06-07 10:37:45 +02:00
ich Rename RealFileName::Named to LocalPath and Devirtualized to Remapped 2021-05-05 15:10:50 +01:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Auto merge of #85910 - cjgillot:no-meta-version, r=Aaron1011 2021-06-10 00:39:25 +00:00
mir Auto merge of #86118 - spastorino:tait-soundness-bug, r=nikomatsakis 2021-06-09 09:00:16 +00:00
query Revert "Merge CrateDisambiguator into StableCrateId" 2021-06-07 10:37:45 +02:00
traits Make traits with GATs not object safe 2021-04-27 14:34:23 -04:00
ty Rollup merge of #85800 - BoxyUwU:const-param-default-diagnostics, r=oli-obk 2021-06-12 01:15:56 +09:00
util Make panic/assert calls in rustc compatible with Rust 2021. 2021-02-03 22:42:53 +01:00
arena.rs Make THIR building a stealable query 2021-05-22 14:36:22 +02:00
lib.rs Remove unused feature gates 2021-05-31 13:55:43 +02:00
lint.rs Add a page on force-warns in unstable book 2021-06-02 18:07:39 +02:00
macros.rs Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk 2020-11-17 12:24:34 +00:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Make THIR building a stealable query 2021-05-22 14:36:22 +02:00