]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/no_revealing_outside_defining_module.rs
1 #![feature(type_alias_impl_trait)]
6 pub type Boo
= impl ::std
::fmt
::Debug
;
12 // We don't actually know the type here.
15 let _
: &str = bomp(); //~ ERROR mismatched types
18 fn bomp() -> boo
::Boo
{
19 "" //~ ERROR mismatched types
22 fn bomp_loop() -> boo
::Boo
{