-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have std::io::TempDir::new and new_in return IoResult
This allows using `try!()` [breaking-change] Fixes #16875
- Loading branch information
1 parent
27e8d5b
commit a049fb9
Showing
6 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at SimonSapin@a049fb9
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging SimonSapin/rust/tempdir-result = a049fb9 into auto
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SimonSapin/rust/tempdir-result = a049fb9 merged ok, testing candidate = edaa1d6c
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1177
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1184
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1183
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1183
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1184
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1177
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1177
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1182
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1177
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1177
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1180
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-opt/builds/14
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-t/builds/14
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-c/builds/14
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at SimonSapin@a049fb9
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging SimonSapin/rust/tempdir-result = a049fb9 into auto
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SimonSapin/rust/tempdir-result = a049fb9 merged ok, testing candidate = d68c11b0
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1196
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1195
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1195
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1196
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1189
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1189
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1189
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1194
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1189
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1189
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1192
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-opt/builds/26
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-t/builds/26
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-c/builds/26
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at SimonSapin@a049fb9
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging SimonSapin/rust/tempdir-result = a049fb9 into auto
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SimonSapin/rust/tempdir-result = a049fb9 merged ok, testing candidate = e14f1606
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1198
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1197
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1197
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1198
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1191
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1191
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1191
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1196
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1191
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1191
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1194
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-opt/builds/28
exception: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-t/builds/28
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at SimonSapin@a049fb9
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging SimonSapin/rust/tempdir-result = a049fb9 into auto
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SimonSapin/rust/tempdir-result = a049fb9 merged ok, testing candidate = 20c0ba1
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1209
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1208
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1208
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1209
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1202
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1202
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1202
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1207
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1202
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1202
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1205
success: http://buildbot.rust-lang.org/builders/auto-win32-32-opt/builds/39
success: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-t/builds/39
success: http://buildbot.rust-lang.org/builders/auto-win32-32-nopt-c/builds/39
a049fb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 20c0ba1