summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-109854.rs
blob: dd4542dd71f7024ab1655493224c710328006d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
fn generate_setter() {
    String::with_capacity(
    //~^ ERROR this function takes 1 argument but 3 arguments were supplied
    generate_setter,
    r#"
pub(crate) struct Person<T: Clone> {}
"#,
     r#""#,
    );
}

fn main() {}