Created
May 13, 2026 14:16
-
-
Save gheoan/2ffe5349f1d98ef3edf91f4bc088c2de 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