rust/tests/ui/suggestions/issue-109854.rs
2023-05-19 20:58:06 +02:00

13 lines
232 B
Rust

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() {}