Created
May 13, 2026 14:09
-
-
Save gheoan/6eff8e7fd3f52cdd1a9c7c4d6f573e61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #![crate_type = "lib"] | |
| use std::rc::Rc; | |
| use std::collections::BTreeMap; | |
| mod m { | |
| use super::*; | |
| use std::rc::Rc; | |
| pub fn f1() { | |
| std::hint::black_box(Rc::new(0)); | |
| std::hint::black_box(BTreeMap::<u32, u32>::new()); | |
| } | |
| } | |
| pub fn f2() { | |
| m::f1(); | |
| std::hint::black_box(Rc::new(0)); | |
| std::hint::black_box(BTreeMap::<u32, u32>::new()); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment