Closed
Description
The following code currently does not compile
fn foo<'a>(a: impl Into<Option<&'a [i32]>>) { }
fn main() {
// error[E0277]: the trait bound `Option<&[i32]>: From<&[{integer}; 3]>` is not satisfied
foo(&[1,2,3]);
// error[E0277]: the trait bound `Option<&[i32]>: From<Option<&[{integer}; 3]>>` is not satisfied
foo(Some(&[1,2,3]));
}
Kindly raising this as an issue because something similar was recently merged #113489