mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 1 year agoGolang be likei.imgur.comimagemessage-square63fedilinkarrow-up1108arrow-down13
arrow-up1105arrow-down1imageGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 1 year agomessage-square63fedilink
minus-squarephilm@programming.devlinkfedilinkarrow-up3·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?
minus-squareHiddenLayer5@lemmy.mllinkfedilinkEnglisharrow-up1·edit-21 year agoNever really coded in Go outside of trying it out, but as far as I know it’s a hard error.
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.