]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-50571.fixed
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / issues / issue-50571.fixed
1 // run-rustfix
2
3 trait Foo {
4     fn foo(_: [i32; 2]) {}
5     //~^ ERROR: patterns aren't allowed in methods without bodies
6 }
7
8 fn main() {}