2016-02-06 11:42:17 -06:00
|
|
|
// Verify that '>' is not both expected and found at the same time, as it used
|
|
|
|
// to happen in #24780. For example, following should be an error:
|
2020-10-25 16:20:44 -05:00
|
|
|
// expected one of ..., `>`, ... found `>`. No longer exactly this, but keeping for posterity.
|
2016-02-06 11:42:17 -06:00
|
|
|
|
2020-10-25 16:20:44 -05:00
|
|
|
fn foo() -> Vec<usize>> { //~ ERROR unmatched angle bracket
|
2016-02-06 11:42:17 -06:00
|
|
|
Vec::new()
|
|
|
|
}
|
2020-10-25 16:20:44 -05:00
|
|
|
|
|
|
|
fn main() {}
|