summary refs log tree commit diff
path: root/src/test/ui/issues/issue-42312.rs
blob: b1c651f665b72005b54f8b3e9934cb36a1e17c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
use std::ops::Deref;

pub trait Foo {
    fn baz(_: Self::Target) where Self: Deref {}
    //~^ ERROR the size for values of type
}

pub fn f(_: ToString) {}
//~^ ERROR the size for values of type

fn main() { }