Uh oh!
There was an error while loading. Please reload this page.
Add context to compiler error message - #103307
Conversation
Changed `creates a temporary which is freed while still in use` to `creates a temporary value which is freed while still in use`
rust-highfive
commented
Oct 20, 2022
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @cjgillot (or someone else) soon. Please see the contribution instructions for more information. |
This comment has been minimized.
This comment has been minimized.
rustbot
commented
Oct 20, 2022
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
cjgillot
commented
Nov 1, 2022
b4den
commented
Nov 1, 2022
Grammatically speaking, the word temporary can also be a noun, not only an adjective (e.g. see Merriam-Webster & Wiktionary). According to Wiktionary as linked, a temporary may refer to “a temporary variable”. |
estebank
commented
Nov 9, 2022
In compiler parlance "temporary" has a specific meaning, but compiler jargon shouldn't be leaking to the users. "Temporary value" is a good compromise. @bors r+ |
bors
commented
Nov 9, 2022
Add context to compiler error message Changed `creates a temporary which is freed while still in use` to `creates a temporary value which is freed while still in use`.
Add context to compiler error message Changed `creates a temporary which is freed while still in use` to `creates a temporary value which is freed while still in use`.
…earth Rollup of 9 pull requests Successful merges: - rust-lang#101005 (Migrate rustc_codegen_llvm to SessionDiagnostics) - rust-lang#103307 (Add context to compiler error message) - rust-lang#103464 (Add support for custom mir) - rust-lang#103929 (Cleanup Apple-related code in rustc_target) - rust-lang#104015 (Remove linuxkernel targets) - rust-lang#104020 (Limit efiapi calling convention to supported arches) - rust-lang#104156 (Cleanups in autoderef impl) - rust-lang#104171 (Update books) - rust-lang#104184 (Fix `rustdoc --version` when used with download-rustc) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Changed
creates a temporary which is freed while still in usetocreates a temporary value which is freed while still in use.