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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
173 B
Rust
Raw Normal View History

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