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 7b4ac2f commit 10a1f5bCopy full SHA for 10a1f5b
tests/rustdoc/issue-116539.rs
@@ -0,0 +1,24 @@
1
+// Regression test for <https://github.com/rust-lang/rust/issues/116539>.
2
+#![no_std]
3
+#![crate_name = "foo"]
4
+
5
+trait IdentifyAccount {
6
+ type A;
7
+}
8
+struct RealSigner {}
9
10
+impl IdentifyAccount for RealSigner {
11
+ type A = u32;
12
13
14
+type RealAccountId = <RealSigner as IdentifyAccount>::A;
15
16
+trait BaseConfig {
17
+ type B;
18
19
20
+trait Config: BaseConfig<B = RealAccountId> {}
21
22
+struct GenesisConfig<T: Config> {
23
+ shelves: [<T as BaseConfig>::B; 2],
24
0 commit comments