Closed
Description
serde-rs/serde#764 and alacritty/alacritty#413 both have this assertion failing. Is this a bug in rustc or in our use of libproc_macro?
pub fn with_parse_sess<F, R>(f: F) -> R
where F: FnOnce(&ParseSess) -> R
{
let p = CURRENT_SESS.with(|p| p.get());
assert!(!p.is_null());
f(unsafe { &*p })
}
cc @abonander and @alexcrichton who own most of that file
cc @jwilm who is debugging alacritty/alacritty#413
Metadata
Metadata
Assignees
Labels
No labels