]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15783.stderr
f60655b7a34d3a68ec5cb51e3f85e2477c54ea01
[rust.git] / src / test / ui / issues / issue-15783.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-15783.rs:8:19
3    |
4 LL |     let msg = foo(x);
5    |                   ^ expected slice, found array of 1 element
6    |
7    = note: expected enum `std::option::Option<&[&str]>`
8               found enum `std::option::Option<&[&str; 1]>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.