Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
declared_but_not_defined_in_scope.rs
blob: 5bda5f0fceaaa6dba9dd7e78fa2e554ee3d2ebb2 [
file
] [
log
] [
blame
]
#![
feature
(
type_alias_impl_trait
)]
fn
main
()
{}
mod
boo
{
// declared in module but not defined inside of it
pub
type
Boo
=
impl
::
std
::
fmt
::
Debug
;
//~ ERROR unconstrained opaque type
}
fn
bomp
()
->
boo
::
Boo
{
""
//~^ mismatched types
}