diff options
Diffstat (limited to 'src/test/ui/save-analysis/issue-64659.rs')
-rw-r--r-- | src/test/ui/save-analysis/issue-64659.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/save-analysis/issue-64659.rs b/src/test/ui/save-analysis/issue-64659.rs new file mode 100644 index 000000000..a3d88a203 --- /dev/null +++ b/src/test/ui/save-analysis/issue-64659.rs @@ -0,0 +1,10 @@ +// check-pass +// compile-flags: -Zsave-analysis + +trait Trait { type Assoc; } + +fn main() { + struct Data<T: Trait> { + x: T::Assoc, + } +} |