Constant arret::subcommand::repl::syntax::MAXIMUM_PARSED_LINE_LEN [−][src]
pub const MAXIMUM_PARSED_LINE_LEN: usize = 512;
Maximum line length we’ll provide parser hints and error highlighting for
This requires parsing the whole line and we don’t support incremental reparsing. This means in the worst case of pasting a large line character-by-character we’ll behave O(n!) with with the size of the pasted line. This seems like a reasonable cutoff where a human isn’t typing the input.