diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-09 08:12:59 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-10 06:39:46 +0900 |
| commit | 6864546049d8f41b0521ee7dc5dedac4850f6c88 (patch) | |
| tree | 902d3dc5b48d25ca35a323327d24c5a2dc589d5a /src/test/ui/methods | |
| parent | 5db778affee7c6600c8e7a177c48282dab3f6292 (diff) | |
| download | rust-6864546049d8f41b0521ee7dc5dedac4850f6c88.tar.gz rust-6864546049d8f41b0521ee7dc5dedac4850f6c88.zip | |
Add a help to use `in_band_lifetimes` in nightly
Diffstat (limited to 'src/test/ui/methods')
| -rw-r--r-- | src/test/ui/methods/method-call-lifetime-args-unresolved.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/methods/method-call-lifetime-args-unresolved.stderr b/src/test/ui/methods/method-call-lifetime-args-unresolved.stderr index c9f235c4f7d..ed8da3dcddf 100644 --- a/src/test/ui/methods/method-call-lifetime-args-unresolved.stderr +++ b/src/test/ui/methods/method-call-lifetime-args-unresolved.stderr @@ -5,6 +5,8 @@ LL | fn main() { | - help: consider introducing lifetime `'a` here: `<'a>` LL | 0.clone::<'a>(); | ^^ undeclared lifetime + | + = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes error: aborting due to previous error |
