blob: 426efcbf9b16f8292cdf6c82d1044f9147127f97 [file] [log] [blame]
use std::ops::Deref;
pub trait Foo {
fn baz(_: Self::Target) where Self: Deref {}
//~^ ERROR the size for values of type
}
pub fn f(_: dyn ToString) {}
//~^ ERROR the size for values of type
fn main() { }