Skip to content

Rollup of 10 pull requests #121886

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

Closed
wants to merge 27 commits into from
Closed
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
53469cf
fix typo in documentation for std::fs::Permissions
squell Mar 17, 2023
0df002a
rewording after comments by @thomcc
squell Aug 29, 2023
71a6973
Update E0716.md for clarity
carschandler Feb 5, 2024
b353765
remove potentially misleading sentence about libc::access
squell Feb 22, 2024
c0ce0f3
Display short types for unimplemented trait
jieyouxu Feb 28, 2024
bf8756d
Don't lint snake-case on executable crate name
GilShoshan94 May 3, 2023
45ca53f
std: move thread local implementation to `sys`
joboet Feb 28, 2024
a1dbb61
Unify long type name file and note in note_obligation_cause_code
jieyouxu Feb 28, 2024
d89c2c5
Small clean up of E0277 message logic
estebank Feb 29, 2024
69f2c9c
Move `gather_comments`.
nnethercote Nov 27, 2023
392159b
Move `HandleStore` into `server.rs`.
nnethercote Mar 1, 2024
fb8ac06
remove hidden use of Global
shamatar Mar 1, 2024
bcccab8
Use the guaranteed precision of a couple of float functions in docs
tbu- Mar 1, 2024
62baa67
Avoid silently writing to a file when the involved ty is long
jieyouxu Mar 1, 2024
d363db7
Hoist only-executables check above producing crate ident
jieyouxu Mar 1, 2024
50ff362
Update E0716.md
carschandler Mar 1, 2024
7f97dfe
Account for unmet `T: !Copy` in E0277 message
estebank Feb 29, 2024
a35138f
Rollup merge of #109263 - squell:master, r=cuviper
matthiaskrgr Mar 2, 2024
63516be
Rollup merge of #120684 - carschandler:patch-1, r=nnethercote
matthiaskrgr Mar 2, 2024
363e05d
Rollup merge of #121739 - jieyouxu:loooong-typename, r=estebank
matthiaskrgr Mar 2, 2024
057ac2a
Rollup merge of #121749 - jieyouxu:issue-45127-fix, r=petrochenkov
matthiaskrgr Mar 2, 2024
9a213c6
Rollup merge of #121758 - joboet:move_pal_thread_local, r=ChrisDenton
matthiaskrgr Mar 2, 2024
13ed679
Rollup merge of #121815 - nnethercote:mv-gather_comments, r=est31
matthiaskrgr Mar 2, 2024
998ee4b
Rollup merge of #121835 - nnethercote:mv-HandleStore, r=bjorn3
matthiaskrgr Mar 2, 2024
8e11997
Rollup merge of #121847 - shamatar:btreemap_fix_implicits, r=cuviper
matthiaskrgr Mar 2, 2024
e4933b9
Rollup merge of #121861 - tbu-:pr_floating_point_exact_examples, r=wo…
matthiaskrgr Mar 2, 2024
a869b6a
Rollup merge of #121875 - estebank:e0277-drive-by, r=compiler-errors
matthiaskrgr Mar 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0716.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let q = p;

Whenever a temporary is created, it is automatically dropped (freed) according
to fixed rules. Ordinarily, the temporary is dropped at the end of the enclosing
statement -- in this case, after the `let`. This is illustrated in the example
statement -- in this case, after the `let p`. This is illustrated in the example
above by showing that `tmp` would be freed as we exit the block.

To fix this problem, you need to create a local variable to store the value in
Expand Down