1 error[E0308]: mismatched types
2 --> $DIR/issue-15783.rs:8:19
5 | ^ expected slice `[&str]`, found array `[&str; 1]`
7 = note: expected enum `std::option::Option<&[&str]>`
8 found enum `std::option::Option<&[&str; 1]>`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.