about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-04-04 21:08:56 +0900
committertopecongiro <seuchida@gmail.com>2017-04-04 21:08:56 +0900
commitdb60b0b374ef4999e3c960a7230b18bcddf82ea0 (patch)
tree06b5a43d7883c6b8c5bc2335f6306d46819b87d7 /src/test/compile-fail
parent09f42ee3331815347767b5a821813a927758a421 (diff)
downloadrust-db60b0b374ef4999e3c960a7230b18bcddf82ea0.tar.gz
rust-db60b0b374ef4999e3c960a7230b18bcddf82ea0.zip
Move 'coherence-overlapping-inherent-impl-trait' test to ui
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/coherence-overlapping-inherent-impl-trait.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/compile-fail/coherence-overlapping-inherent-impl-trait.rs b/src/test/compile-fail/coherence-overlapping-inherent-impl-trait.rs
deleted file mode 100644
index 158d3606104..00000000000
--- a/src/test/compile-fail/coherence-overlapping-inherent-impl-trait.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-#![allow(dead_code)]
-
-trait C {}
-impl C { fn f() {} } //~ ERROR duplicate definitions with name `f`
-impl C { fn f() {} }
-fn main() { }