Skip to content

Rollup of 3 pull requests #68363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 19, 2020
Next Next commit
clean up E0195 explanation
  • Loading branch information
GuillaumeGomez committed Jan 16, 2020
commit a1a0aea9e3830f4351f45f3a56c1adbca49be481
5 changes: 3 additions & 2 deletions src/librustc_error_codes/error_codes/E0195.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Your method's lifetime parameters do not match the trait declaration.
The lifetime parameters of the method do not match the trait declaration.

Erroneous code example:

```compile_fail,E0195
Expand All @@ -16,7 +17,7 @@ impl Trait for Foo {
}
```

The lifetime constraint `'b` for bar() implementation does not match the
The lifetime constraint `'b` for `bar()` implementation does not match the
trait declaration. Ensure lifetime declarations match exactly in both trait
declaration and implementation. Example:

Expand Down