Fix compat with stable

This commit is contained in:
Alex Crichton 2018-04-19 14:28:30 -07:00
parent eb73e05b7a
commit f3c05e5339

View File

@ -67,7 +67,7 @@ fn main() {
.debug(args.flag_debug)
.demangle(!args.flag_no_demangle)
.typescript(args.flag_typescript);
if let Some(name) = &args.flag_no_modules_global {
if let Some(ref name) = args.flag_no_modules_global {
b.no_modules_global(name);
}