summaryrefslogtreecommitdiffstats
path: root/tests/ui/save-analysis/issue-65590.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/save-analysis/issue-65590.rs')
-rw-r--r--tests/ui/save-analysis/issue-65590.rs21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/ui/save-analysis/issue-65590.rs b/tests/ui/save-analysis/issue-65590.rs
deleted file mode 100644
index 27874f865..000000000
--- a/tests/ui/save-analysis/issue-65590.rs
+++ /dev/null
@@ -1,21 +0,0 @@
-// check-pass
-// compile-flags: -Zsave-analysis
-// edition:2018
-
-// Async desugaring for return types in (associated) functions introduces a
-// separate definition internally, which we need to take into account
-// (or else we ICE).
-trait Trait { type Assoc; }
-struct Struct;
-
-async fn foobar<T: Trait>() -> T::Assoc {
- unimplemented!()
-}
-
-impl Struct {
- async fn foo<T: Trait>(&self) -> T::Assoc {
- unimplemented!()
- }
-}
-
-fn main() {}