We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3035a05 commit 3e362a4Copy full SHA for 3e362a4
src/libsyntax/parse/lexer/mod.rs
@@ -101,7 +101,7 @@ impl<'a> StringReader<'a> {
101
self.override_span.unwrap_or_else(|| Span::new(lo, hi, NO_EXPANSION))
102
}
103
104
- fn unwrap_or_abort<T>(&mut self, res: Result<T, ()>) -> T {
+ fn unwrap_or_abort(&mut self, res: Result<Token, ()>) -> Token {
105
match res {
106
Ok(tok) => tok,
107
Err(_) => {
0 commit comments