You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we see stderr, warnings for dead code are visible on quite a few slides. In just about every case we do want the dead code to be present because it has didactic value. We should add #![allow(dead_code)] where appropriate or pass the corresponding flag to rustc if the sandbox allows that.
The text was updated successfully, but these errors were encountered:
We noticed this during instruction this week as well. I'll see if we can fix it up. Another option may be to include it but hidden (some slides appear to have hidden code, and I'm not sure how that works!)
Now that we see
stderr
, warnings for dead code are visible on quite a few slides. In just about every case we do want the dead code to be present because it has didactic value. We should add#![allow(dead_code)]
where appropriate or pass the corresponding flag to rustc if the sandbox allows that.The text was updated successfully, but these errors were encountered: