Fix: sess.opt should have been sess.opts

This commit is contained in:
Thomas Jespersen 2015-04-14 22:18:24 +02:00
parent bed2d33523
commit 35b49fe206

View File

@ -482,7 +482,7 @@ pub fn phase_2_configure_and_expand(sess: &Session,
crate_name: crate_name.to_string(),
features: Some(&features),
recursion_limit: sess.recursion_limit.get(),
trace_mac: sess.opt.debugging_opts.trace_macros,
trace_mac: sess.opts.debugging_opts.trace_macros,
};
let ret = syntax::ext::expand::expand_crate(&sess.parse_sess,
cfg,