Closed
Description
Seems to me if an argument is marked unused (with an underscore) then there should be a warning or error if it is actually used. For example the below compiles and runs just fine:
// rustc --test ignores1.rs && ./ignores1
use std;
fn make_five(_x: int) -> int
{
_x + 5
}
#[test]
fn tester()
{
assert make_five(1) == 5
}