rust/tests/ui/impl-trait/in-trait/encode.rs

9 lines
124 B
Rust
Raw Normal View History

// build-pass
// compile-flags: --crate-type=lib
#![allow(incomplete_features)]
trait Foo {
fn bar() -> impl Sized;
}