X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_expand%2Fsrc%2Fmbe.rs;h=63bafd7b046fb173275548d333b098ddfd4ab06a;hb=163a7090b8c774785c8daea0e95e70e60ccfc6d0;hp=f42576b16f5204d13f2a2ed69c6d34b8c0eb0e19;hpb=27f2f0a04e94261cec9e48ed7c2b2b0d560f25db;p=rust.git diff --git a/compiler/rustc_expand/src/mbe.rs b/compiler/rustc_expand/src/mbe.rs index f42576b16f5..63bafd7b046 100644 --- a/compiler/rustc_expand/src/mbe.rs +++ b/compiler/rustc_expand/src/mbe.rs @@ -52,7 +52,7 @@ fn new(op: KleeneOp, span: Span) -> KleeneToken { /// A Kleene-style [repetition operator](https://en.wikipedia.org/wiki/Kleene_star) /// for token sequences. #[derive(Clone, PartialEq, Encodable, Decodable, Debug, Copy)] -enum KleeneOp { +pub(crate) enum KleeneOp { /// Kleene star (`*`) for zero or more repetitions ZeroOrMore, /// Kleene plus (`+`) for one or more repetitions