summary refs log tree commit diff
path: root/src/test/ui/issue-15783.stderr
blob: d565bad244810d2f879b0161037a9064aeba64d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/issue-15783.rs:18:19
   |
LL |     let msg = foo(x);
   |                   ^ expected slice, found array of 1 elements
   |
   = note: expected type `std::option::Option<&[&str]>`
              found type `std::option::Option<&[&str; 1]>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.