about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorThomas Jespersen <laumann.thomas@gmail.com>2015-04-14 22:18:24 +0200
committerThomas Jespersen <laumann.thomas@gmail.com>2015-04-14 22:18:24 +0200
commit35b49fe20604ee840246123acd44cf2f9a04ab08 (patch)
treed87a4d26c6b13219f266c8976183465907630495 /src/librustc_driver
parentbed2d33523be222195aff71bb813eb14a1faef97 (diff)
downloadrust-35b49fe20604ee840246123acd44cf2f9a04ab08.tar.gz
rust-35b49fe20604ee840246123acd44cf2f9a04ab08.zip
Fix: sess.opt should have been sess.opts
Diffstat (limited to 'src/librustc_driver')
-rw-r--r--src/librustc_driver/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index f7815a58d06..f93c543543c 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -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,