temporarily disable effects on specialization tests
This commit is contained in:
parent
3637b153f7
commit
74e7b5bd76
8 changed files with 43 additions and 50 deletions
|
@ -879,6 +879,7 @@ pub(super) fn check_specialization_validity<'tcx>(
|
|||
let result = opt_result.unwrap_or(Ok(()));
|
||||
|
||||
if let Err(parent_impl) = result {
|
||||
// FIXME(effects) the associated type from effects could be specialized
|
||||
if !tcx.is_impl_trait_in_trait(impl_item) && !tcx.is_effects_desugared_assoc_ty(impl_item) {
|
||||
report_forbidden_specialization(tcx, impl_item, parent_impl);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue