summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfcs/rfc-2528-type-changing-struct-update/issue-92010-trait-bound-not-satisfied.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/rfcs/rfc-2528-type-changing-struct-update/issue-92010-trait-bound-not-satisfied.rs')
-rw-r--r--src/test/ui/rfcs/rfc-2528-type-changing-struct-update/issue-92010-trait-bound-not-satisfied.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/rfcs/rfc-2528-type-changing-struct-update/issue-92010-trait-bound-not-satisfied.rs b/src/test/ui/rfcs/rfc-2528-type-changing-struct-update/issue-92010-trait-bound-not-satisfied.rs
deleted file mode 100644
index f1a54ee58..000000000
--- a/src/test/ui/rfcs/rfc-2528-type-changing-struct-update/issue-92010-trait-bound-not-satisfied.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-#[derive(Clone)]
-struct P<T> {
- x: T,
- y: f64,
-}
-
-impl<T> P<T> {
- fn y(&self, y: f64) -> Self { P{y, .. self.clone() } }
- //~^ mismatched types [E0308]
-}
-
-fn main() {}