Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
d11ff2a
Impl `io::error::repr_unpacked::Repr::new`
NobodyXu Jun 22, 2022
1713e25
Impl `io::error::repr_bitpacked::Repr::new`
NobodyXu Jun 22, 2022
e0ea0c2
Add new unstable API `Error::try_downgrade_inner`
NobodyXu Jun 22, 2022
d2211c9
Add new unit test `test_try_downcast_inner`
NobodyXu Jun 22, 2022
516da4c
Use `unwrap` instead of `unwrap_unchecked`
NobodyXu Jun 23, 2022
07a0fd2
Add std::fs::write documentation precision
LucasDumont Jun 29, 2022
111253c
Rename `std::io::Error::try_downcast_inner` to `downcast`
NobodyXu Jul 14, 2022
9da4fea
Implement set_output_kind for emscripten linker
hoodmane Jun 21, 2022
0d45977
Remove FIXME from MIR `always_storage_live_locals`
pierwill Jul 14, 2022
d8aba10
Improve example of `downcast`
NobodyXu Jul 15, 2022
67a6c0a
Fix typo in mod.rs
eltociear Jul 15, 2022
fa3156e
add `#[must_use]` to `Box::from_raw`
rhysd Jul 15, 2022
d6b7480
Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friends
joshtriplett Jul 15, 2022
8e8a3be
Apply suggestions from code review
yaahc Jul 15, 2022
93d3b18
Rollup merge of #98358 - hoodmane:emscripten-dynlib, r=petrochenkov
JohnTitor Jul 16, 2022
bced96e
Rollup merge of #98387 - NobodyXu:feature/std_io_Error_try_downgrade_…
JohnTitor Jul 16, 2022
4d0df40
Rollup merge of #98662 - LucasDumont:document_fs_write, r=thomcc
JohnTitor Jul 16, 2022
982d8f9
Rollup merge of #99253 - pierwill:pierwill/rm-storage-fixme, r=oli-obk
JohnTitor Jul 16, 2022
64fcd24
Rollup merge of #99264 - eltociear:patch-14, r=compiler-errors
JohnTitor Jul 16, 2022
8ec29c7
Rollup merge of #99270 - rhysd:issue-99269, r=Mark-Simulacrum
JohnTitor Jul 16, 2022
512922a
Rollup merge of #99277 - joshtriplett:stabilize-core-cstr-alloc-cstri…
JohnTitor Jul 16, 2022
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
Apply suggestions from code review
  • Loading branch information
yaahc authored Jul 15, 2022
commit 8e8a3be22f1082da965f6a696be93fbbd7b5d4ba
2 changes: 1 addition & 1 deletion library/std/src/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ impl Error {
/// }
/// }
/// ```
#[unstable(feature = "io_error_downcast", issue = "none")]
#[unstable(feature = "io_error_downcast", issue = "99262")]
pub fn downcast<E>(self) -> result::Result<Box<E>, Self>
where
E: error::Error + Send + Sync + 'static,
Expand Down