Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
impl-trait
/
where-allowed-2.rs
blob: 462508f306ef34f4b1f3de692f996a79a3d894e8 [
file
] [
log
] [
blame
]
//! Ideally, these tests would go in `where-allowed.rs`, but we bail out
//! too early to display them.
use
std
::
fmt
::
Debug
;
// Disallowed
fn
in_adt_in_return
()
->
Vec
<
impl
Debug
>
{
panic
!()
}
//~ ERROR cannot resolve opaque type
fn
main
()
{}