mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
13 lines
232 B
Rust
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() {}
|