1 // Regression test for a weird corner case in our dep-graph reduction
2 // code. When we solve `CoerceUnsized<Foo>`, we find no impls, so we
3 // don't end up with an edge to any HIR nodes, but it still gets
4 // preserved in the dep graph.
6 // revisions:rpass1 rpass2
7 // compile-flags: -Z query-dep-graph
12 struct Foo { x: usize }
16 let x: Arc<Foo> = Arc::new(Foo { x: 22 });
21 struct FooX { x: usize }
25 let x: Arc<FooX> = Arc::new(FooX { x: 22 });