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
jruderman opened this issue
Sep 17, 2011
· 4 comments
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
use std;
tag t { alpha; beta; }
fn f(x : t) { alt x { alfa { } }; }
fn main() { }
Should warn that "alfa" is an unused variable. (I misspelled the tag name and forgot a period; the warning could help me notice that I didn't succeed in having it treated as a tag name.)
The text was updated successfully, but these errors were encountered:
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Should warn that "alfa" is an unused variable. (I misspelled the tag name and forgot a period; the warning could help me notice that I didn't succeed in having it treated as a tag name.)
The text was updated successfully, but these errors were encountered: