about summary refs log tree commit diff
path: root/tests/ui/suggestions/auxiliary/dep.rs
blob: c28c8b8a52f51d9c77328d4615acb940253f624f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![feature(sized_hierarchy)]

use std::marker::MetaSized;

pub struct Foo<T> {
    inner: T,
}

pub trait Trait {
    fn foo(_: impl Sized);
    fn bar<T>(_: impl Sized)
    where
        Foo<T>: MetaSized;
    fn baz<'a, const N: usize>();
    fn quux<'a: 'b, 'b, T: ?Sized>();
}