2013-08-16 18:21:02 -04:00
|
|
|
// 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.
|
|
|
|
|
2013-08-19 17:15:25 -04:00
|
|
|
// Test library crate for cross-crate usages of traits inheriting
|
|
|
|
// from the builtin kinds. Mostly tests metadata correctness.
|
|
|
|
|
2014-04-14 21:00:31 +05:30
|
|
|
#![crate_type="lib"]
|
2013-08-16 18:21:02 -04:00
|
|
|
|
2014-08-05 16:40:04 -07:00
|
|
|
pub trait RequiresShare : Sync { }
|
2014-03-22 00:44:26 +01:00
|
|
|
pub trait RequiresRequiresShareAndSend : RequiresShare + Send { }
|
2014-03-27 00:01:11 +01:00
|
|
|
pub trait RequiresCopy : Copy { }
|