chore: pending def should be pub

This commit is contained in:
rvcas 2021-06-21 00:22:32 -04:00
parent 876687e078
commit e69b798857

View file

@ -79,7 +79,7 @@ impl ShallowClone for Def {
/// but no Expr canonicalization has happened yet. Also, it has had spaces /// but no Expr canonicalization has happened yet. Also, it has had spaces
/// and nesting resolved, and knows whether annotations are standalone or not. /// and nesting resolved, and knows whether annotations are standalone or not.
#[derive(Debug)] #[derive(Debug)]
enum PendingDef<'a> { pub enum PendingDef<'a> {
/// A standalone annotation with no body /// A standalone annotation with no body
AnnotationOnly( AnnotationOnly(
&'a Located<ast::Pattern<'a>>, &'a Located<ast::Pattern<'a>>,