error: expected one of `:` or `@`, found `<` --> $DIR/issue-34264.rs:11:14 | 11 | fn foo(Option, String) {} | ^ expected one of `:` or `@` here error: expected one of `:` or `@`, found `)` --> $DIR/issue-34264.rs:11:27 | 11 | fn foo(Option, String) {} | ^ expected one of `:` or `@` here error: expected one of `:` or `@`, found `,` --> $DIR/issue-34264.rs:12:9 | 12 | fn bar(x, y: usize) {} | ^ expected one of `:` or `@` here error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> $DIR/issue-34264.rs:16:9 | 11 | fn foo(Option, String) {} | ------------------------------ defined here ... 16 | foo(Some(42), 2, ""); | ^^^^^^^^^^^^^^^ expected 2 parameters error[E0308]: mismatched types --> $DIR/issue-34264.rs:17:13 | 17 | bar("", ""); | ^^ expected usize, found reference | = note: expected type `usize` found type `&'static str` = help: here are some functions which might fulfill your needs: - .len() error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> $DIR/issue-34264.rs:19:9 | 12 | fn bar(x, y: usize) {} | ---------------------- defined here ... 19 | bar(1, 2, 3); | ^^^^^^^ expected 2 parameters error: aborting due to 6 previous errors