about summary refs log tree commit diff
path: root/src/test/ui/impl-trait
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2020-09-07 10:01:45 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2020-10-06 11:19:33 +0100
commit022c148fcd9e4339b4b59dfaee58ca5905d71b2d (patch)
tree78e9598de2e80351e8f50abf57ca9f6c0b74e8c6 /src/test/ui/impl-trait
parent1db284ecb0039798a09e53a519219c5c556c9b38 (diff)
downloadrust-022c148fcd9e4339b4b59dfaee58ca5905d71b2d.tar.gz
rust-022c148fcd9e4339b4b59dfaee58ca5905d71b2d.zip
Fix tests from rebase
Diffstat (limited to 'src/test/ui/impl-trait')
-rw-r--r--src/test/ui/impl-trait/issue-55872-2.stderr2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/impl-trait/issue-55872-2.stderr b/src/test/ui/impl-trait/issue-55872-2.stderr
index 6da3704184a..58c5ee45051 100644
--- a/src/test/ui/impl-trait/issue-55872-2.stderr
+++ b/src/test/ui/impl-trait/issue-55872-2.stderr
@@ -3,8 +3,6 @@ error[E0277]: the trait bound `impl Future: Copy` is not satisfied
    |
 LL |     type E = impl std::marker::Copy;
    |              ^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future`
-   |
-   = note: the return type of a function must have a statically known size
 
 error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
   --> $DIR/issue-55872-2.rs:15:28