10 lines
190 B
Rust
10 lines
190 B
Rust
// error-pattern:attempted access of field some_field_name on type [int]
|
|
// issue #367
|
|
|
|
fn f() {
|
|
let v = [1];
|
|
log_full(core::debug, v.some_field_name); //type error
|
|
}
|
|
|
|
fn main() { }
|