diff options
| author | bors <bors@rust-lang.org> | 2023-05-07 05:20:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-07 05:20:29 +0000 |
| commit | 8cc75b56a67ab33407b43faa0efc0f6483ff5664 (patch) | |
| tree | fead80264db3a06644bf70fb262f1a546c7b0c49 /compiler/rustc_error_codes | |
| parent | 70a779cb7d827c0007dde1751d272bfdb58dded5 (diff) | |
| parent | 8372eaee0b0f613a008df0102098e925ac0f5830 (diff) | |
| download | rust-8cc75b56a67ab33407b43faa0efc0f6483ff5664.tar.gz rust-8cc75b56a67ab33407b43faa0efc0f6483ff5664.zip | |
Auto merge of #111311 - JohnTitor:rollup-vfpjm0d, r=JohnTitor
Rollup of 7 pull requests Successful merges: - #105583 (Operand::extract_field: only cast llval if it's a pointer and replace bitcast w/ pointercast.) - #110094 (clean up `transmute`s in `core`) - #111150 (added TraitAlias to check_item() for missing_docs) - #111293 (rustc --explain E0726 - grammar fixing (it's => its + add a `the` where it felt right to do so)) - #111300 (Emit while_true lint spanning the entire loop condition) - #111301 (Remove calls to `mem::forget` and `mem::replace` in `Option::get_or_insert_with`.) - #111303 (update Rust Unstable Book docs for `--extern force`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_error_codes')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0726.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0726.md b/compiler/rustc_error_codes/src/error_codes/E0726.md index e3794327f2d..a721e746ecd 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0726.md +++ b/compiler/rustc_error_codes/src/error_codes/E0726.md @@ -25,8 +25,8 @@ block_on(future); Specify desired lifetime of parameter `content` or indicate the anonymous lifetime like `content: Content<'_>`. The anonymous lifetime tells the Rust -compiler that `content` is only needed until create function is done with -it's execution. +compiler that `content` is only needed until the `create` function is done with +its execution. The `implicit elision` meaning the omission of suggested lifetime that is `pub async fn create<'a>(content: Content<'a>) {}` is not allowed here as |
