rust/src/test/run-fail/issue-1459.rs
Tim Chevalier 94d2063577 Handle log expressions with a _|_-typed level
If we have log(foo, quux) where foo:_|_, just translate foo and
ignore the rest of the expression.

Closes #1459
2012-01-19 14:44:40 -08:00

5 lines
74 B
Rust

// error-pattern:roflcopter
fn main() {
log (fail "roflcopter", 2);
}