summaryrefslogtreecommitdiff
path: root/vendor/backtrace/examples/backtrace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/backtrace/examples/backtrace.rs')
-rw-r--r--vendor/backtrace/examples/backtrace.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/backtrace/examples/backtrace.rs b/vendor/backtrace/examples/backtrace.rs
new file mode 100644
index 0000000..7ff6cd3
--- /dev/null
+++ b/vendor/backtrace/examples/backtrace.rs
@@ -0,0 +1,5 @@
+use backtrace::Backtrace;
+
+fn main() {
+ println!("{:?}", Backtrace::new());
+}