diff options
| author | bors <bors@rust-lang.org> | 2016-05-30 08:13:08 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-05-30 08:13:08 -0700 |
| commit | f3bfa313ecf557b9684568f6a2acd42cd67cc1bc (patch) | |
| tree | 4d000fa349659239a36d57c9215b400e5cdc9ef4 /src/test | |
| parent | 5da602bda3f30a8943dd4d10383bae6d8a77575c (diff) | |
| parent | 26c209897f4ae230828898551725cceced59e329 (diff) | |
| download | rust-f3bfa313ecf557b9684568f6a2acd42cd67cc1bc.tar.gz rust-f3bfa313ecf557b9684568f6a2acd42cd67cc1bc.zip | |
Auto merge of #33965 - Manishearth:rollup, r=Manishearth
Rollup of 5 pull requests - Successful merges: #33867, #33926, #33942, #33958, #33964 - Failed merges:
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/issue-33571.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/compile-fail/issue-33571.rs b/src/test/compile-fail/issue-33571.rs new file mode 100644 index 00000000000..5dfc41c8f4a --- /dev/null +++ b/src/test/compile-fail/issue-33571.rs @@ -0,0 +1,14 @@ +// 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. + +#[derive(Clone, + Sync, //~ ERROR this unsafe trait should be implemented explicitly + Copy)] +enum Foo {} |
