about summary refs log tree commit diff
path: root/src/librustpkg
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-12-06 22:23:23 +0100
committerMarvin Löbel <loebel.marvin@gmail.com>2013-12-06 22:29:02 +0100
commit142eb685f913e15494bfab9ec142e40f6bf92cc4 (patch)
treec68d74020eccd2bdd120ac48cb79898ec79bf3d0 /src/librustpkg
parentaa4455e4c76598fcf6de84de14f050a700a2a14e (diff)
Made Results API more composable
Diffstat (limited to 'src/librustpkg')
-rw-r--r--src/librustpkg/tests.rs2
1 files changed, 1 insertions, 1 deletions
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,