]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15783.stderr
Remove E0308 note when primary label has all info
[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 `[&str]`, found array `[&str; 1]`
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`.