Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 199 Bytes
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
fn foo(_: &[&str]) {}
fn bad(a: &str, b: &str) {
foo(&[a, b]);
}
fn good(a: &str, b: &str) {
foo(&[a, b]);
}
fn main() {}
You can’t perform that action at this time.