Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
type-alias-impl-trait
/
declared_but_not_defined_in_scope.rs
blob: 7ea517eb734a459701bfd6d1887416af6f228559 [
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 could not find defining uses
}
fn
bomp
()
->
boo
::
Boo
{
""
//~^ mismatched types
}