]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-73061-cross-crate-opaque-assoc-type.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / rustdoc / issue-73061-cross-crate-opaque-assoc-type.rs
1 // Regression test for ICE #73061
2
3 // aux-build:issue-73061.rs
4
5 extern crate issue_73061;
6
7 pub struct Z;
8
9 impl issue_73061::Foo for Z {
10     type X = <issue_73061::F as issue_73061::Foo>::X;
11     fn x(&self) -> Self::X {
12         issue_73061::F.x()
13     }
14 }