]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15783.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-15783.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-15783.rs:18:19
3    |
4 LL |     let msg = foo(x);
5    |                   ^ expected slice, found array of 1 elements
6    |
7    = note: expected type `std::option::Option<&[&str]>`
8               found type `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`.