mycroftholmess@lemm.ee to Programmer Humor@programming.dev • 1 year agoGolang be likeimagemessage-square45 fedilinkarrow-up1606
arrow-up1606imageGolang be likemycroftholmess@lemm.ee to Programmer Humor@programming.dev • 1 year agomessage-square45 Commentsfedilink
minus-squarephilm@programming.devhexbear10·1 year agoIs this a hard error? Like it doesn't compile at all? Isn't there something like #[allow(unused)] in Rust you can put over the declaration? linkfedilink
minus-squareMarxism-Fennekinism@lemmy.mlhexbear8·edit-21 year agoNever really coded in Go outside of trying it out, but as far as I know it's a hard error. linkfedilink
Is this a hard error? Like it doesn't compile at all?
Isn't there something like
#[allow(unused)]
in Rust you can put over the declaration?Never really coded in Go outside of trying it out, but as far as I know it's a hard error.