summaryrefslogtreecommitdiffstats
path: root/tests/ui/coercion/coerce-reborrow-multi-arg-fail.rs
blob: 48be2d3146b811f0777829e94035ae170051004a (plain)
1
2
3
4
5
6
fn test<T>(_a: T, _b: T) {}

fn main() {
    test(&mut 7, &7);
    //~^ mismatched types
}