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