6 lines
213 B
Rust
6 lines
213 B
Rust
// expect: reject E7002
|
|
// phase: 6
|
|
// spec: docs/spec/10-diagnostics-and-agent-protocol.md §2
|
|
module diagnostic.unknown_capability
|
|
fn main(c: cap<unknown>) -> void effects [] {} // diagnostic here: cap<unknown>
|