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