]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-19037.rs
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-19037.rs
1 // check-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 struct Str([u8]);
6
7 #[derive(Clone)]
8 struct CharSplits<'a, Sep> {
9 string: &'a Str,
10 sep: Sep,
11 allow_trailing_empty: bool,
12 only_ascii: bool,
13 finished: bool,
14 }
15
16 fn clone(s: &Str) -> &Str {
17 Clone::clone(&s)
18 }
19
20 fn main() {}