Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-50571.rs
blob: 97a042d3ec1fb2cacb6f56522615f5ee14b7049d [
file
] [
log
] [
blame
] [
edit
]
//@ run-rustfix
#![
allow
(
dead_code
)]
trait
Foo
{
fn
foo
([
a
,
b
]:
[
i32
;
2
])
{}
//~^ ERROR: patterns aren't allowed in methods without bodies
}
fn
main
()
{}