Made Results API more composable

This commit is contained in:
Marvin Löbel 2013-12-06 22:23:23 +01:00
parent aa4455e4c7
commit 142eb685f9
6 changed files with 47 additions and 128 deletions

View file

@ -1822,7 +1822,7 @@ fn test_linker_build() {
let workspace = workspace.path();
let matches = getopts([], optgroups());
let options = build_session_options(@"rustpkg",
matches.get_ref(),
matches.as_ref().unwrap(),
@diagnostic::DefaultEmitter as
@diagnostic::Emitter);
let sess = build_session(options,