]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_parse_format/lib.rs
Add `format_args_capture` feature
[rust.git] / src / librustc_parse_format / lib.rs
index a5b5a1090cbfd5052e0d6beb64b0b79581a87698..7db62f3493ede969d97fc00309ab5080076c7641 100644 (file)
@@ -190,7 +190,7 @@ pub struct Parser<'a> {
     /// Whether the source string is comes from `println!` as opposed to `format!` or `print!`
     append_newline: bool,
     /// Whether this formatting string is a literal or it comes from a macro.
-    is_literal: bool,
+    pub is_literal: bool,
     /// Start position of the current line.
     cur_line_start: usize,
     /// Start and end byte offset of every line of the format string. Excludes