rust/tests/ui/issues/issue-40610.rs

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

7 lines
93 B
Rust
Raw Normal View History

fn f(_: &[f32]) {}
fn main() {
() + f(&[1.0]);
2019-12-11 16:11:32 -06:00
//~^ ERROR cannot add `()` to `()`
}