Skip to content
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

Rollup of 16 pull requests #58566

Closed
wants to merge 43 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c654968
Deny the `overflowing_literals` lint for all editions
ollie27 Jan 17, 2019
a15916b
[WIP] add better error message for partial move
clintfred Feb 5, 2019
d4c52bf
error output updated by ./x.py test --stage 1 src/test/ui --increment…
clintfred Feb 6, 2019
f753d30
Suggest removing parentheses surrounding lifetimes
igorsdv Feb 5, 2019
9fa01da
Improve stability tags display
GuillaumeGomez Feb 8, 2019
69d948d
Fix search results interactions
GuillaumeGomez Feb 9, 2019
5d80584
Use less explicit shifting in std::net::ip
scottmcm Feb 12, 2019
4e5eda3
compute is_partial_move outside of the move_site loop for clarity
clintfred Feb 13, 2019
96fd218
check if `used_place` and `moved_place` are equal when determining if…
clintfred Feb 13, 2019
755b320
simplified conditional
clintfred Feb 13, 2019
cdd1c0e
Don't use an allocation for ItemId in StmtKind
Zoxc Feb 17, 2019
564c569
Monomorphize less code in fs::{read|write}
scottmcm Feb 17, 2019
8fbb013
Mention capping forbid lints
dwijnand Feb 17, 2019
3281e62
Remove UB in test_is_null test
KamilaBorowska Feb 17, 2019
0cf1a91
Remove UB in test_ptr_subtraction test
KamilaBorowska Feb 17, 2019
a23c40e
Add alias methods to PathBuf for underlying OsString
aaronstillwell Feb 17, 2019
dad211e
Modify doctest's auto-`fn main()` to allow `Result`s
llogiq Dec 3, 2018
dbf60d9
Fixes for implementation of PathBuf methods (aliases for OsString)
aaronstillwell Feb 17, 2019
35d8c44
Changed feature gate for new PathBuf methods
aaronstillwell Feb 17, 2019
ee948d9
Add regression test for a specialization-related ICE (#39448)
emlai Feb 17, 2019
55c25f8
Fix doc for rustc "-g" flag
TheBiggerGuy Feb 17, 2019
88e462b
Add links to codegen docs for rustc synonym flags
TheBiggerGuy Feb 17, 2019
0b9ad6e
Explain a panic in test case net::tcp::tests::double_bind
ssomers Feb 4, 2019
01bebdf
Merge remote-tracking branch 'upstream/master'
ssomers Feb 17, 2019
9312ca1
Add a note about 2018e if someone uses `try {` in 2015e
scottmcm Feb 18, 2019
c9fbcc1
Fixed doc example for Path::with_capacity
aaronstillwell Feb 18, 2019
de05548
re-blessing error output: ./x.py test src/test/ui --stage 1 --bless
clintfred Feb 18, 2019
47b2ba3
Rollup merge of #55632 - ollie27:deny_overflowing_literals, r=Centril
Mark-Simulacrum Feb 18, 2019
da18731
Rollup merge of #56470 - llogiq:process-termination-doctest, r=Guilla…
Mark-Simulacrum Feb 18, 2019
d9f3e58
Rollup merge of #58198 - igorsdv:suggest-removing-parentheses-surroun…
Mark-Simulacrum Feb 18, 2019
01771ff
Rollup merge of #58199 - clintfred:partial-move-err-msg, r=estebank
Mark-Simulacrum Feb 18, 2019
ce9b9f8
Rollup merge of #58303 - GuillaumeGomez:stability-tags-display, r=Qui…
Mark-Simulacrum Feb 18, 2019
42c1133
Rollup merge of #58336 - GuillaumeGomez:fix-search-results-interactio…
Mark-Simulacrum Feb 18, 2019
6842614
Rollup merge of #58392 - scottmcm:less-shifting-in-net-ip, r=oli-obk
Mark-Simulacrum Feb 18, 2019
2b85431
Rollup merge of #58528 - Zoxc:stmtkind-item, r=oli-obk
Mark-Simulacrum Feb 18, 2019
e2f306e
Rollup merge of #58530 - scottmcm:monomorphize-less, r=TimNN
Mark-Simulacrum Feb 18, 2019
8488327
Rollup merge of #58534 - dwijnand:mention-capping-forbid-lints, r=oli…
Mark-Simulacrum Feb 18, 2019
932ff67
Rollup merge of #58536 - xfix:remove-ub-in-pointer-tests, r=RalfJung
Mark-Simulacrum Feb 18, 2019
e882771
Rollup merge of #58539 - aaronstillwell:master, r=Mark-Simulacrum
Mark-Simulacrum Feb 18, 2019
a740ef1
Rollup merge of #58544 - TheBiggerGuy:rustc-doc-cli-args, r=TimNN
Mark-Simulacrum Feb 18, 2019
f2b237d
Rollup merge of #58545 - emlai:regression-test-for-39448, r=Centril
Mark-Simulacrum Feb 18, 2019
4b1eff8
Rollup merge of #58551 - ssomers:master, r=oli-obk
Mark-Simulacrum Feb 18, 2019
8a9191e
Rollup merge of #58555 - scottmcm:try-2015, r=Centril
Mark-Simulacrum Feb 18, 2019
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
14 changes: 7 additions & 7 deletions src/libstd/path.rs
Original file line number Diff line number Diff line change
@@ -1164,7 +1164,7 @@ impl PathBuf {
///
/// [`with_capacity`]: ../ffi/struct.OsString.html#method.with_capacity
/// [`OsString`]: ../ffi/struct.OsString.html
#[unstable(feature = "path_buf_alias_os_string_methods", issue = "58234")]
#[unstable(feature = "path_buf_capacity", issue = "58234")]
pub fn with_capacity(capacity: usize) -> PathBuf {
PathBuf {
inner: OsString::with_capacity(capacity)
@@ -1404,7 +1404,7 @@ impl PathBuf {
///
/// [`capacity`]: ../ffi/struct.OsString.html#method.capacity
/// [`OsString`]: ../ffi/struct.OsString.html
#[unstable(feature = "path_buf_alias_os_string_methods", issue = "58234")]
#[unstable(feature = "path_buf_capacity", issue = "58234")]
pub fn capacity(&self) -> usize {
self.inner.capacity()
}
@@ -1413,7 +1413,7 @@ impl PathBuf {
///
/// [`clear`]: ../ffi/struct.OsString.html#method.clear
/// [`OsString`]: ../ffi/struct.OsString.html
#[unstable(feature = "path_buf_alias_os_string_methods", issue = "58234")]
#[unstable(feature = "path_buf_capacity", issue = "58234")]
pub fn clear(&mut self) {
self.inner.clear()
}
@@ -1422,7 +1422,7 @@ impl PathBuf {
///
/// [`reserve`]: ../ffi/struct.OsString.html#method.reserve
/// [`OsString`]: ../ffi/struct.OsString.html
#[unstable(feature = "path_buf_alias_os_string_methods", issue = "58234")]
#[unstable(feature = "path_buf_capacity", issue = "58234")]
pub fn reserve(&mut self, additional: usize) {
self.inner.reserve(additional)
}
@@ -1431,7 +1431,7 @@ impl PathBuf {
///
/// [`reserve_exact`]: ../ffi/struct.OsString.html#method.reserve_exact
/// [`OsString`]: ../ffi/struct.OsString.html
#[unstable(feature = "path_buf_alias_os_string_methods", issue = "58234")]
#[unstable(feature = "path_buf_capacity", issue = "58234")]
pub fn reserve_exact(&mut self, additional: usize) {
self.inner.reserve_exact(additional)
}
@@ -1440,7 +1440,7 @@ impl PathBuf {
///
/// [`shrink_to_fit`]: ../ffi/struct.OsString.html#method.shrink_to_fit
/// [`OsString`]: ../ffi/struct.OsString.html
#[unstable(feature = "path_buf_alias_os_string_methods", issue = "58234")]
#[unstable(feature = "path_buf_capacity", issue = "58234")]
pub fn shrink_to_fit(&mut self) {
self.inner.shrink_to_fit()
}
@@ -1449,7 +1449,7 @@ impl PathBuf {
///
/// [`shrink_to`]: ../ffi/struct.OsString.html#method.shrink_to
/// [`OsString`]: ../ffi/struct.OsString.html
#[unstable(feature = "path_buf_alias_os_string_methods", issue = "58234")]
#[unstable(feature = "path_buf_capacity", issue = "58234")]
pub fn shrink_to(&mut self, min_capacity: usize) {
self.inner.shrink_to(min_capacity)
}