blob: e2a88dec97f7c4c4da385965732ab7bcf554d2ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// build-pass (FIXME(62277): could be check-pass?)
// compile-flags: -Z unpretty=hir
#![feature(type_alias_impl_trait)]
#[prelude_import]
use ::std::prelude::v1::*;
#[macro_use]
extern crate std;
trait Animal { }
fn main() {
pub type ServeFut = impl Animal;
}
|