vscode-rust
vscode-rust copied to clipboard
Syntax highlighting - reference to a char recognized as a lifetime
Version of VSCode: 1.12.2 Version of the extension: 0.3.14 OS: Antergos Linux
Description: In this example code:
match chars.peek() {
Some(&'a'...'f') => true,
Some(_) => false,
None => false
}
the &'a'...'f'
is highlighted as a lifetime 'a
rather than a reference to a char.