rust/tests/ui/coercion/coerce-reborrow-multi-arg-fail.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
91 B
Rust
Raw Normal View History

2020-05-30 18:54:14 +00:00
fn test<T>(_a: T, _b: T) {}
fn main() {
test(&mut 7, &7);
//~^ mismatched types
}