about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-11-09 11:14:18 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2019-11-09 11:14:18 +0100
commit5407b51aa71f13b2d0deabd873c0a828cb8cd28f (patch)
treec1bf69b8f5cb541878cf2ac28080493b0bf9e98d /example
parent74ea53f1fbac83ee44addc6a3c08d152344aa356 (diff)
downloadrust-5407b51aa71f13b2d0deabd873c0a828cb8cd28f.tar.gz
rust-5407b51aa71f13b2d0deabd873c0a828cb8cd28f.zip
Rustup to rustc 1.40.0-nightly (9e346646e 2019-11-08)
Diffstat (limited to 'example')
-rw-r--r--example/std_example.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index 71b2a34b61d..50f794733e3 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -71,6 +71,8 @@ fn main() {
 
     let _a = 1u32 << 2u8;
 
+    println!("{:?}", unsafe { std::intrinsics::caller_location() });
+
     unsafe {
         test_simd();
     }