]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coercion/coerce-reborrow-multi-arg.rs
Rollup merge of #100006 - jyn514:update-copy, r=dtolnay
[rust.git] / src / test / ui / coercion / coerce-reborrow-multi-arg.rs
1 // build-pass
2 fn test<T>(_a: T, _b: T) {}
3
4 fn main() {
5     test(&7, &7);
6     test(&7, &mut 7);
7     test::<&i32>(&mut 7, &7);
8     test::<&i32>(&mut 7, &mut 7);
9 }