]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-42312.rs
Rollup merge of #57278 - mati865:config_clippy, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-42312.rs
1 use std::ops::Deref;
2
3 pub trait Foo {
4     fn baz(_: Self::Target) where Self: Deref {}
5     //~^ ERROR the size for values of type
6 }
7
8 pub fn f(_: ToString) {}
9 //~^ ERROR the size for values of type
10
11 fn main() { }