Make sure we don't report errors for illegal derived bodies, just their decls

This commit is contained in:
Ayaz Hafiz 2022-10-18 14:19:42 -05:00
parent 3f09de7052
commit bb8888b115
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 60 additions and 6 deletions

View file

@ -146,7 +146,7 @@ fn is_eq<'a>(env: &mut Env<'a>, at_opaque: &'a str) -> ast::Expr<'a> {
)
}
pub(crate) const DERIVED_REGION: Region = Region::zero();
pub const DERIVED_REGION: Region = Region::zero();
pub(crate) fn synthesize_member_impl<'a>(
env: &mut Env<'a>,