Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
e60c1916e0d0ff0cad9d8fce049c3bc31eeb34f0
/
.
/
tests
/
ui
/
lint
/
issue-87274-paren-parent.rs
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
()
{}