diff options
| author | Jared Roesch <roeschinc@gmail.com> | 2016-08-18 11:29:35 -0700 | 
|---|---|---|
| committer | Jared Roesch <roeschinc@gmail.com> | 2016-09-02 11:58:02 -0700 | 
| commit | 90d1a535510dfa098c908a76234d7b0db72eadf8 (patch) | |
| tree | 5893ae4ebbfe8d95541bbc2575424223f1cd430c /src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs | |
| parent | 352fac95ad5305bf8b0e482b8255b2b0057adf09 (diff) | |
| download | rust-90d1a535510dfa098c908a76234d7b0db72eadf8.tar.gz rust-90d1a535510dfa098c908a76234d7b0db72eadf8.zip | |
Address feedback, and remove invalid tests
Diffstat (limited to 'src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs')
| -rw-r--r-- | src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs b/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs index ec8db996600..168148b92fe 100644 --- a/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs +++ b/src/test/compile-fail/traits-inductive-overflow-supertrait-oibit.rs @@ -14,7 +14,7 @@ #![feature(optin_builtin_traits)] -trait Magic: Copy {} +trait Magic: Copy {} //~ ERROR E0565 impl Magic for .. {} fn copy<T: Magic>(x: T) -> (T, T) { (x, x) } @@ -23,6 +23,6 @@ fn copy<T: Magic>(x: T) -> (T, T) { (x, x) } struct NoClone; fn main() { - let (a, b) = copy(NoClone); //~ ERROR E0277 + let (a, b) = copy(NoClone); println!("{:?} {:?}", a, b); } | 
