blob: e7bca2231de4b97366cbdb55537838f56114b95b (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Crate that exports an opaque `impl Trait` type. Used for testing cross-crate.
#![crate_type = "rlib"]
#![feature(type_alias_impl_trait)]
pub type Foo = impl std::fmt::Debug;
pub fn foo() -> Foo {
5
}
|