// This test ensures that associated types don't crash rustdoc jump to def. //@ compile-flags: -Zunstable-options --generate-link-to-definition #![crate_name = "foo"] //@ has 'src/foo/jump-to-def-ice-assoc-types.rs.html' pub trait Trait { type Node; } pub fn y() { struct X(G); impl Trait for X { type Node = G::Node; } }