2019-11-04 00:00:00 +00:00
|
|
|
// check-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-11-17 14:35:27 -05:00
|
|
|
struct Str([u8]);
|
|
|
|
|
2014-12-31 17:32:49 +13:00
|
|
|
#[derive(Clone)]
|
2014-11-17 14:35:27 -05:00
|
|
|
struct CharSplits<'a, Sep> {
|
|
|
|
string: &'a Str,
|
|
|
|
sep: Sep,
|
|
|
|
allow_trailing_empty: bool,
|
|
|
|
only_ascii: bool,
|
|
|
|
finished: bool,
|
|
|
|
}
|
|
|
|
|
|
|
|
fn clone(s: &Str) -> &Str {
|
|
|
|
Clone::clone(&s)
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|