Files
aji/tests/conformance/source/repair_advice/numeric_cast_modes.aji
T

7 lines
232 B
Rust

// expect: reject E7005
// phase: 6
// spec: docs/spec/15-source-language.md §10; docs/spec/10-diagnostics-and-agent-protocol.md §3
module advice
fn f(n: u64) -> u32 effects [] { return n as u32; }
fn main() -> void effects [] {}