0343b0553b
"cannot be dereferenced" error message. Closes #2370
7 lines
129 B
Rust
7 lines
129 B
Rust
// error-pattern: type cat cannot be dereferenced
|
|
class cat { new() {} }
|
|
|
|
fn main() {
|
|
let nyan = cat();
|
|
log (error, *nyan);
|
|
} |