1
Fork 0
rust/src/test/ui/parser/trait-plusequal-splitting.rs

9 lines
201 B
Rust
Raw Normal View History

// Fixes issue where `+` in generics weren't parsed if they were part of a `+=`.
2018-10-21 00:02:06 +03:00
// compile-pass
struct Whitespace<T: Clone + = ()> { t: T }
struct TokenSplit<T: Clone += ()> { t: T }
2018-10-21 00:02:06 +03:00
fn main() {}