rust/tests/rustdoc-ui/ice-cross-crate-opaque-assoc-type-73061.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
310 B
Rust
Raw Normal View History

2024-04-06 16:41:59 -05:00
// Regression test for ICE https://github.com/rust-lang/rust/issues/73061
2024-04-06 16:41:59 -05:00
//@ check-pass
//@ aux-build:issue-73061.rs
extern crate issue_73061;
pub struct Z;
impl issue_73061::Foo for Z {
type X = <issue_73061::F as issue_73061::Foo>::X;
fn x(&self) -> Self::X {
issue_73061::F.x()
}
}