Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
eb0ed28
Remove usage of `isize` in example
tbu- May 28, 2024
1a840e7
Add test for incorrect pinning suggestion
estebank May 28, 2024
5585f31
Account for existing bindings when suggesting pinning
estebank May 28, 2024
69769fc
Expand list of trait implementers in E0277 when calling rustc with --…
lengrongfu Jun 6, 2024
3ba0262
CI: Update riscv64gc-linux job to 22.04, rename to riscv64gc-gnu
Hoverbear May 27, 2024
aafa93f
Move riscv64-gnu test out of disabled
Hoverbear May 29, 2024
f2e7d79
Add riscv64-gnu to PR tests
Hoverbear May 29, 2024
4c4eb39
Add workaround for git dubious ownership issue
Hoverbear May 31, 2024
e1b489d
Re-disable riscv64-gnu test
Hoverbear Jun 10, 2024
19a2dfe
Migrate `tests/run-make/prefer-dylib` to `rmake.rs`
GuillaumeGomez Jun 8, 2024
e3e8153
Split core's PanicInfo and std's PanicInfo.
m-ou-se Sep 19, 2023
a519dc8
Document difference between core and std's PanicInfo.
m-ou-se Sep 26, 2023
16dfc6d
Add core::panic::PanicInfo::payload() for compatibility.
m-ou-se Sep 26, 2023
331b8a3
Fix doc link.
m-ou-se Sep 26, 2023
83dd214
Update doc comment about core::panicking.
m-ou-se Oct 2, 2023
0266bbf
Remove core::panic::PanicInfo::internal_constructor.
m-ou-se Oct 2, 2023
0642cb2
Remove std::panic::PanicInfo::internal_constructor+set_payload.
m-ou-se Oct 2, 2023
0087d89
Mark some PanicInfo methods as #[inline] for consistency.
m-ou-se Oct 2, 2023
4e356f3
Move downcasting panic payload to str to a function.
m-ou-se Oct 2, 2023
22f7399
Use unnamed lifetimes for [..]Payload impl blocks.
m-ou-se Oct 2, 2023
1642de3
Impl Display for PanicPayload to simplify things.
m-ou-se Oct 2, 2023
bab26b0
Reorder body of begin_panic for consistency.
m-ou-se Oct 2, 2023
6b2d7c4
Fix invalid markdown/html.
m-ou-se Oct 2, 2023
b6180a9
Formatting.
m-ou-se Jan 31, 2024
64e56db
Rename std::panic::PanicInfo to PanicHookInfo.
m-ou-se Jan 31, 2024
3854357
Fix deprecation version.
m-ou-se Jan 31, 2024
f5fe82f
Move deprecation of std::panic::PanicInfo to 1.80.0.
m-ou-se Jan 31, 2024
ce0bc8b
Downcast panic payload to String too in example.
m-ou-se May 16, 2024
32bfe70
Add note on panic payload type.
m-ou-se May 16, 2024
877a26f
Mention core's PanicInfo in error.md.
m-ou-se May 16, 2024
fb0990d
Fix display of panic message in recursive panic.
m-ou-se May 16, 2024
de07c1a
Add PanicHookInfo::payload_as_str().
m-ou-se May 16, 2024
a345c3d
Bump deprecation of std's PanicInfo alias to 1.82.0.
m-ou-se May 16, 2024
a6e23b1
Formatting.
m-ou-se Jun 11, 2024
d9deb38
Rollup merge of #115974 - m-ou-se:panicinfo-and-panicinfo, r=Amanieu
jieyouxu Jun 11, 2024
ecc0046
Rollup merge of #125659 - tbu-:pr_rm_isize, r=pnkfelix
jieyouxu Jun 11, 2024
91374fa
Rollup merge of #125669 - ferrocene:hoverbear/ci-docker-riscv64gc-upd…
jieyouxu Jun 11, 2024
260f789
Rollup merge of #125684 - estebank:pin-to-binding-suggestion, r=pnkfelix
jieyouxu Jun 11, 2024
12358a7
Rollup merge of #126055 - lengrongfu:master, r=pnkfelix
jieyouxu Jun 11, 2024
e37c423
Rollup merge of #126174 - GuillaumeGomez:migrate-run-make-prefer-dyli…
jieyouxu Jun 11, 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
Prev Previous commit
Next Next commit
Fix invalid markdown/html.
  • Loading branch information
m-ou-se committed Jun 11, 2024
commit 6b2d7c47072a466b938fac75db416c9adbf59892
2 changes: 1 addition & 1 deletion library/core/src/panicking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! In core, panicking is always done with a message, resulting in a core::panic::PanicInfo
//! containing a fmt::Arguments. In std, however, panicking can be done with panic_any, which throws
//! a Box<dyn Any> containing any type of value. Because of this, std::panic::PanicInfo is a
//! a `Box<dyn Any>` containing any type of value. Because of this, std::panic::PanicInfo is a
//! different type, which contains a &dyn Any instead of a fmt::Arguments.
//! std's panic handler will convert the fmt::Arguments to a &dyn Any containing either a
//! &'static str or String containing the formatted message.
Expand Down