about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorChristiaan Dirkx <christiaan@dirkx.email>2021-05-06 14:03:50 +0200
committerChristiaan Dirkx <christiaan@dirkx.email>2021-05-19 15:52:09 +0200
commit4ff5ab52966203b8ad8da96f897566e4a218308a (patch)
tree345645ca61e919b7a9b74c543a497efeedcaab54 /library/std/src/sys/unix/stack_overflow.rs
parent6145051eeebeba030cef3aa01a99683b84ff24fc (diff)
downloadrust-4ff5ab52966203b8ad8da96f897566e4a218308a.tar.gz
rust-4ff5ab52966203b8ad8da96f897566e4a218308a.zip
Rename `rterr` to `rtprintpanic`
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
-rw-r--r--library/std/src/sys/unix/stack_overflow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/stack_overflow.rs b/library/std/src/sys/unix/stack_overflow.rs
index 72fd48278bc..81f47a779d3 100644
--- a/library/std/src/sys/unix/stack_overflow.rs
+++ b/library/std/src/sys/unix/stack_overflow.rs
@@ -102,7 +102,7 @@ mod imp {
         // If the faulting address is within the guard page, then we print a
         // message saying so and abort.
         if guard.start <= addr && addr < guard.end {
-            rterr!(
+            rtprintpanic!(
                 "\nthread '{}' has overflowed its stack\n",
                 thread::current().name().unwrap_or("<unknown>")
             );