mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-29 17:05:41 +00:00
10 lines
173 B
Rust
10 lines
173 B
Rust
// build-pass
|
|
// compile-flags: --crate-type=lib
|
|
|
|
#![feature(return_position_impl_trait_in_trait)]
|
|
#![allow(incomplete_features)]
|
|
|
|
trait Foo {
|
|
fn bar() -> impl Sized;
|
|
}
|