1 // Check that you are allowed to implement using elision but write
2 // trait without elision (a bug in this cropped up during
3 // bootstrapping, so this is a regression test).
7 pub struct SplitWhitespace<'a> {
11 pub trait UnicodeStr {
12 fn split_whitespace<'a>(&'a self) -> SplitWhitespace<'a>;
15 impl UnicodeStr for str {
17 fn split_whitespace(&self) -> SplitWhitespace {