]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-13058.nll.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-13058.nll.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-13058.rs:36:11
3    |
4 LL |     check((3, 5));
5    |           ^^^^^^
6    |           |
7    |           expected reference, found tuple
8    |           help: consider borrowing here: `&(3, 5)`
9    |
10    = note: expected type `&_`
11               found type `({integer}, {integer})`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.