mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-27 16:11:26 +00:00
7 lines
211 B
Rust
7 lines
211 B
Rust
//! This test used to hit an assertion instead of erroring and bailing out.
|
|
|
|
fn main() {
|
|
let _ = [std::ops::Add::add, std::ops::Mul::mul, std::ops::Mul::mul as fn(_, &_)];
|
|
//~^ ERROR: mismatched types
|
|
}
|