diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-10 07:24:18 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-10 07:24:18 +0900 |
| commit | a9b64766a47ce7a0ad6768b7a74bae7fa991576e (patch) | |
| tree | e6627c6db4d939eeb885ddf3041b36a02e7cd7d0 /src/test/ui/error-codes | |
| parent | 6864546049d8f41b0521ee7dc5dedac4850f6c88 (diff) | |
| download | rust-a9b64766a47ce7a0ad6768b7a74bae7fa991576e.tar.gz rust-a9b64766a47ce7a0ad6768b7a74bae7fa991576e.zip | |
Tweak wording
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0261.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0261.stderr b/src/test/ui/error-codes/E0261.stderr index f37e28d072d..33d74feead5 100644 --- a/src/test/ui/error-codes/E0261.stderr +++ b/src/test/ui/error-codes/E0261.stderr @@ -6,7 +6,7 @@ LL | fn foo(x: &'a str) { } | | | help: consider introducing lifetime `'a` here: `<'a>` | - = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes + = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes error[E0261]: use of undeclared lifetime name `'a` --> $DIR/E0261.rs:5:9 @@ -16,7 +16,7 @@ LL | struct Foo { LL | x: &'a str, | ^^ undeclared lifetime | - = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes + = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes error: aborting due to 2 previous errors |
