diff options
Diffstat (limited to 'src/test/ui/traits/issue-96664.rs')
-rw-r--r-- | src/test/ui/traits/issue-96664.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/traits/issue-96664.rs b/src/test/ui/traits/issue-96664.rs deleted file mode 100644 index 3c5314af7..000000000 --- a/src/test/ui/traits/issue-96664.rs +++ /dev/null @@ -1,16 +0,0 @@ -// check-pass - -#![feature(trait_alias)] - -pub trait State = Clone + Send + Sync + PartialOrd + PartialEq + std::fmt::Display; -pub trait RandState<S: State> = FnMut() -> S + Send; - -pub trait Evaluator { - type State; -} - -pub struct Evolver<E: Evaluator> { - rand_state: Box<dyn RandState<E::State>>, -} - -fn main() {} |