about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-09-18 13:51:36 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-09-22 11:33:13 -0700
commit4e0437ee8e51c43b76ff2e1a4ea717f18d279f72 (patch)
treedf7e9701630e4e221a479099286cf1b8352490a9
parentf81734bcaa9688bef78b5ef35c7d134edc0b41f4 (diff)
downloadrust-4e0437ee8e51c43b76ff2e1a4ea717f18d279f72.tar.gz
rust-4e0437ee8e51c43b76ff2e1a4ea717f18d279f72.zip
Fix rebase
-rw-r--r--src/test/ui/hrtb/due-to-where-clause.stderr7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/ui/hrtb/due-to-where-clause.stderr b/src/test/ui/hrtb/due-to-where-clause.stderr
index e698584bb71..9fef1e33543 100644
--- a/src/test/ui/hrtb/due-to-where-clause.stderr
+++ b/src/test/ui/hrtb/due-to-where-clause.stderr
@@ -2,15 +2,12 @@ error: implementation of `Foo` is not general enough
   --> $DIR/due-to-where-clause.rs:5:5
    |
 LL |     test::<FooS>(&mut 42);
-   |     ^^^^^^^^^^^^ doesn't satisfy where-clause
+   |     ^^^^^^^^^^^^ implementation of `Foo` is not general enough
 ...
 LL | trait Foo<'a> {}
    | ---------------- trait `Foo` defined here
-...
-LL | fn test<'a, F>(data: &'a mut u32) where F: for<'b> Foo<'b> {}
-   | ------------------------------------------------------------- due to a where-clause on `test`...
    |
-   = note: ...`FooS<'_>` must implement `Foo<'0>`, for any lifetime `'0`...
+   = note: `FooS<'_>` must implement `Foo<'0>`, for any lifetime `'0`...
    = note: ...but `FooS<'_>` actually implements `Foo<'1>`, for some specific lifetime `'1`
 
 error: aborting due to previous error