rollup merge of #21411: P1start/help-tweaks
Conflicts: src/librustc_typeck/check/closure.rs
This commit is contained in:
@@ -2921,7 +2921,7 @@ impl<'a> Parser<'a> {
|
||||
"Chained comparison operators require parentheses");
|
||||
if op == BiLt && outer_op == BiGt {
|
||||
self.span_help(op_span,
|
||||
"Use ::< instead of < if you meant to specify type arguments.");
|
||||
"use ::< instead of < if you meant to specify type arguments");
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
|
||||
Reference in New Issue
Block a user