]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-87274-paren-parent.rs
Merge commit '7248d06384c6a90de58c04c1f46be88821278d8b' into sync-from-clippy
[rust.git] / src / test / ui / lint / issue-87274-paren-parent.rs
1 // check-pass
2 // Tests that we properly lint at 'paren' expressions
3
4 fn foo() -> Result<(), String>  {
5     (try!(Ok::<u8, String>(1))); //~ WARN use of deprecated macro `try`
6     Ok(())
7 }
8
9 fn main() {}