From 142eb685f913e15494bfab9ec142e40f6bf92cc4 Mon Sep 17 00:00:00 2001 From: Marvin Löbel Date: Fri, 6 Dec 2013 22:23:23 +0100 Subject: Made Results API more composable --- src/librustpkg/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustpkg') diff --git a/src/librustpkg/tests.rs b/src/librustpkg/tests.rs index 6136be2e8d3..854eea76dbb 100644 --- a/src/librustpkg/tests.rs +++ b/src/librustpkg/tests.rs @@ -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, -- cgit 1.4.1-3-g733a5