Skip to content

Commit 4b6d64c

Browse files
committed
change ParseErrors field to pub(crate)
1 parent 871a800 commit 4b6d64c

File tree

1 file changed

+1
-1
lines changed
  • cedar-policy-core/src/parser

1 file changed

+1
-1
lines changed

cedar-policy-core/src/parser/err.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ pub fn expected_to_string(expected: &[String], config: &ExpectedTokenConfig) ->
671671
// Don't make fields `pub`, don't make breaking changes, and use caution when
672672
// adding public methods.
673673
#[derive(Clone, Debug, Default, PartialEq, Eq)]
674-
pub struct ParseErrors(pub Vec<ParseError>);
674+
pub struct ParseErrors(pub(crate) Vec<ParseError>);
675675

676676
impl ParseErrors {
677677
const DESCRIPTION_IF_EMPTY: &'static str = "unknown parse error";

0 commit comments

Comments
 (0)