blob: 409824cc9406db636dc3ab26b77ece9c89525a43 [file] [log] [blame]
//@ check-pass
// Tests that we properly lint at 'paren' expressions
fn foo() -> Result<(), String> {
(try!(Ok::<u8, String>(1))); //~ WARN use of deprecated macro `try`
Ok(())
}
fn main() {}