about summary refs log tree commit diff
path: root/src/test/compile-fail/marker-no-send.rs
diff options
context:
space:
mode:
authorFlavio Percoco <flaper87@gmail.com>2015-01-13 20:21:19 +0100
committerFlavio Percoco <flaper87@gmail.com>2015-01-16 08:18:56 +0100
commitaa642b3486d2ac7ff50b31e2d0e9640e4723847d (patch)
tree3196f118dd89dc5fc88953ab3ef11023eb24991a /src/test/compile-fail/marker-no-send.rs
parent038aa0e8e958a78f01f7a322e2465fd4488fa021 (diff)
downloadrust-aa642b3486d2ac7ff50b31e2d0e9640e4723847d.tar.gz
rust-aa642b3486d2ac7ff50b31e2d0e9640e4723847d.zip
addressed comments
Diffstat (limited to 'src/test/compile-fail/marker-no-send.rs')
-rw-r--r--src/test/compile-fail/marker-no-send.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/compile-fail/marker-no-send.rs b/src/test/compile-fail/marker-no-send.rs
deleted file mode 100644
index cd253b2f9e5..00000000000
--- a/src/test/compile-fail/marker-no-send.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2013 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.
-
-// ignore-stage1
-// ignore-stage2
-// ignore-stage3
-
-use std::marker;
-
-fn foo<P:Send>(p: P) { }
-
-fn main()
-{
-    foo(marker::NoSend); //~ ERROR the trait `core::marker::Send` is not implemented
-}