We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588b5f1 commit 9284e20Copy full SHA for 9284e20
gcc/rust/ast/rust-pattern.h
@@ -773,9 +773,8 @@ class StructPatternFieldIdent : public StructPatternField
773
};
774
775
// Elements of a struct pattern
776
-struct StructPatternElements
+class StructPatternElements
777
{
778
-private:
779
// bool has_struct_pattern_fields;
780
std::vector<std::unique_ptr<StructPatternField>> fields;
781
gcc/rust/hir/tree/rust-hir-pattern.h
@@ -667,9 +667,8 @@ class StructPatternFieldIdent : public StructPatternField
667
668
669
670
671
672
673
674
675
public:
0 commit comments