Created
May 23, 2017 11:47
-
-
Save Nashenas88/e5ad7f0a7193deae0b021924f2083513 to your computer and use it in GitHub Desktop.
This file contains 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
let mut fraginfo_map = this.tcx.fragment_infos.borrow_mut(); | |
let fn_did = this.tcx.hir.local_def_id(id); | |
let prev = fraginfo_map.insert(fn_did, fragment_infos); | |
assert!(prev.is_none()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment