We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b561cd1 commit da12236Copy full SHA for da12236
src/test/ui/save-analysis/issue-65411.rs
@@ -0,0 +1,15 @@
1
+// check-pass
2
+// compile-flags: -Zsave-analysis
3
+
4
+trait Trait { type Assoc; }
5
+trait GenericTrait<T> {}
6
+struct Wrapper<B> { b: B }
7
8
+fn func() {
9
+ // Processing associated path in impl block definition inside a function
10
+ // body does not ICE
11
+ impl<B: Trait> GenericTrait<B::Assoc> for Wrapper<B> {}
12
+}
13
14
15
+fn main() {}
0 commit comments