about summary refs log tree commit diff
path: root/tests/ui/sized-hierarchy/auxiliary/pretty-print-dep.rs
blob: a7d18d9036856a6c2dd88788632baefffa2a433e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![feature(sized_hierarchy)]

use std::marker::{MetaSized, PointeeSized};

pub trait SizedTr {}

impl<T: Sized> SizedTr for T {}

pub trait NegSizedTr {}

impl<T: ?Sized> NegSizedTr for T {}

pub trait MetaSizedTr {}

impl<T: MetaSized> MetaSizedTr for T {}

pub trait PointeeSizedTr: PointeeSized {}

impl<T: PointeeSized> PointeeSizedTr for T {}