diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-09-18 13:51:36 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-09-22 11:33:13 -0700 |
| commit | 4e0437ee8e51c43b76ff2e1a4ea717f18d279f72 (patch) | |
| tree | df7e9701630e4e221a479099286cf1b8352490a9 | |
| parent | f81734bcaa9688bef78b5ef35c7d134edc0b41f4 (diff) | |
| download | rust-4e0437ee8e51c43b76ff2e1a4ea717f18d279f72.tar.gz rust-4e0437ee8e51c43b76ff2e1a4ea717f18d279f72.zip | |
Fix rebase
| -rw-r--r-- | src/test/ui/hrtb/due-to-where-clause.stderr | 7 |
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 |
