Skip to content

Rollup of 10 pull requests #73923

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 28 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
46bfc48
Added proper explanation of ErrorCode-E0687
Polkaverse May 10, 2020
1d0378c
impl From<char> for String
matthiaskrgr Jun 17, 2020
2cde493
add test for char into string
matthiaskrgr Jun 18, 2020
224bc05
Fix allow_internal_unstable with rustc_const_unstable
nbdd0121 Jun 26, 2020
fc239e8
Make `likely` and `unlikely` const
nbdd0121 Jun 26, 2020
779b05d
Fix ICE for lib features
nbdd0121 Jun 26, 2020
8b43012
Update src/librustc_mir/interpret/intrinsics.rs
nbdd0121 Jun 27, 2020
7231e57
Fix wording for anonymous parameter name help
nop Jun 28, 2020
bb82e76
Advertise correct stable version for const control flow
ecstatic-morse Jun 29, 2020
1d7ba5f
stop taking references in Relate
lcnr Jun 24, 2020
71b45b9
change `skip_binder` to use T by value
lcnr Jun 24, 2020
f632bd1
remove unused `TypeError::ProjectionBoundsLength`
lcnr Jun 24, 2020
69e4990
update `equal_up_to_regions`
lcnr Jun 30, 2020
f74a7d3
Clean up E0712 explanation
GuillaumeGomez Jun 30, 2020
0889d79
remove duplicate tests
lcnr Jun 30, 2020
0d26512
Add missing backtick in `ty_error_with_message`
JohnTitor Jul 1, 2020
7616cd9
`#[deny(unsafe_op_in_unsafe_fn)]` in libstd/fs.rs
eltonlaw Jul 1, 2020
b438811
enable unsafe_op_in_unsafe_fn lint
eltonlaw Jul 1, 2020
ce57e7e
Rollup merge of #72071 - PankajChaudhary5:ErrorCode-E0687, r=davidtwco
Dylan-DPC Jul 1, 2020
14ecee5
Rollup merge of #73466 - matthiaskrgr:char_into_string, r=dtolnay
Dylan-DPC Jul 1, 2020
51a0cfd
Rollup merge of #73705 - lcnr:skip_binder, r=nikomatsakis
Dylan-DPC Jul 1, 2020
ea718a6
Rollup merge of #73778 - nbdd0121:const_likely, r=oli-obk
Dylan-DPC Jul 1, 2020
e8decdc
Rollup merge of #73828 - nop:fix/parameter-name-help, r=estebank
Dylan-DPC Jul 1, 2020
16ed9a9
Rollup merge of #73868 - ecstatic-morse:fix-stable-version, r=jonas-s…
Dylan-DPC Jul 1, 2020
30d0db9
Rollup merge of #73892 - GuillaumeGomez:cleanup-e0712, r=Dylan-DPC
Dylan-DPC Jul 1, 2020
32e74ae
Rollup merge of #73898 - lcnr:issue61383, r=jonas-schievink
Dylan-DPC Jul 1, 2020
9d37005
Rollup merge of #73906 - JohnTitor:missing-bt, r=jonas-schievink
Dylan-DPC Jul 1, 2020
b37816d
Rollup merge of #73909 - eltonlaw:unsafe-libstd-fs-rs, r=sfackler
Dylan-DPC Jul 1, 2020
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
Prev Previous commit
Next Next commit
Clean up E0712 explanation
  • Loading branch information
GuillaumeGomez committed Jun 30, 2020
commit f74a7d3ff1a080f4877a43096985b693d5949f55
4 changes: 2 additions & 2 deletions src/librustc_error_codes/error_codes/E0712.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This error occurs because a borrow of a thread-local variable was made inside a
function which outlived the lifetime of the function.
A borrow of a thread-local variable was made inside a function which outlived
the lifetime of the function.

Erroneous code example:

Expand Down