2019-11-03 18:00:00 -06:00
|
|
|
// check-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-11-17 13:35:27 -06:00
|
|
|
struct Str([u8]);
|
|
|
|
|
2014-12-30 22:32:49 -06:00
|
|
|
#[derive(Clone)]
|
2014-11-17 13:35:27 -06: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() {}
|