about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-02-15 23:54:05 +0900
committerTaiki Endo <te316e89@gmail.com>2019-02-28 04:06:16 +0900
commit9d691bd9cee83a4bd49b02849cc3095eb6fc23d7 (patch)
tree8804d147d24b01c3f9159b2a6d2816bb74b1e406 /src/test
parent2af18a2b38d53dad24813e12ef0e468e5cc5d229 (diff)
Fix error in tag-that-dare-not-speak-its-name
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/tag-that-dare-not-speak-its-name.rs1
-rw-r--r--src/test/ui/tag-that-dare-not-speak-its-name.stderr2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/tag-that-dare-not-speak-its-name.rs b/src/test/ui/tag-that-dare-not-speak-its-name.rs
index fc9df7a974e..9f47b2e9b9f 100644
--- a/src/test/ui/tag-that-dare-not-speak-its-name.rs
+++ b/src/test/ui/tag-that-dare-not-speak-its-name.rs
@@ -1,6 +1,5 @@
 // Issue #876
 
-#![no_implicit_prelude]
 use std::vec::Vec;
 
 fn last<T>(v: Vec<&T> ) -> std::option::Option<T> {
diff --git a/src/test/ui/tag-that-dare-not-speak-its-name.stderr b/src/test/ui/tag-that-dare-not-speak-its-name.stderr
index a0d6b0007d7..23e3d665262 100644
--- a/src/test/ui/tag-that-dare-not-speak-its-name.stderr
+++ b/src/test/ui/tag-that-dare-not-speak-its-name.stderr
@@ -1,5 +1,5 @@
 error[E0308]: mismatched types
-  --> $DIR/tag-that-dare-not-speak-its-name.rs:12:20
+  --> $DIR/tag-that-dare-not-speak-its-name.rs:11:20
    |
 LL |     let x : char = last(y);
    |                    ^^^^^^^ expected char, found enum `std::option::Option`