summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/layout-error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/layout-error.rs')
-rw-r--r--tests/ui/generator/layout-error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/generator/layout-error.rs b/tests/ui/generator/layout-error.rs
index 7c3d18740..44cfc1d70 100644
--- a/tests/ui/generator/layout-error.rs
+++ b/tests/ui/generator/layout-error.rs
@@ -24,5 +24,6 @@ fn main() {
type F = impl Future;
// Check that statics are inhabited computes they layout.
static POOL: Task<F> = Task::new();
+ //~^ ERROR: cannot check whether the hidden type of `layout_error[b009]::main::F::{opaque#0}` satisfies auto traits
Task::spawn(&POOL, || cb());
}