]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/fn-defined-using-def.rs
1 // Check what happens when `def` is used to define a function, instead of `fn`
7 //~^ ERROR expected one of `!` or `::`, found `foo`
8 //~^^ HELP write `fn` instead of `def` to declare a function