]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-2951.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-2951.rs
CommitLineData
223e47cc
LB
1fn foo<T, U>(x: T, y: U) {
2 let mut xx = x;
85aaf69f
SL
3 xx = y;
4 //~^ ERROR mismatched types
60c5eb7d
XL
5 //~| expected type parameter `T`, found type parameter `U`
6 //~| expected type parameter `T`
7 //~| found type parameter `U`
223e47cc
LB
8}
9
10fn main() {
223e47cc 11}