frontend: provide contextual source repair advice
This commit is contained in:
1 parent
008867fe48
commit
2c6c7a3dcd
37 files changed
+562
-24
No files matched your search
@@ -0,0 +1,6 @@
|
||||
// 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 [] {}
|
||||
Reference in new issue
Block a user