1 // FIXME(chalk): should fail, see comments
3 // compile-flags: -Z chalk
5 #![feature(trivial_bounds)]
12 struct S where S: Foo;
26 // For some reason, the error is duplicated...
28 foo::<S>() //~ ERROR the type `S` is not well-formed (chalk)
29 //~^ ERROR the type `S` is not well-formed (chalk)