summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/in-trait/encode.rs
blob: efb9f6498ba6d9a5582d585f13a31f0ad3fcd808 (plain)
1
2
3
4
5
6
7
8
9
// build-pass
// compile-flags: --crate-type=lib

#![feature(return_position_impl_trait_in_trait)]
#![allow(incomplete_features)]

trait Foo {
    fn bar() -> impl Sized;
}