]> git.lizzy.rs Git - rust.git/commit
Update tests for new coherence rules, and add a swatch of new tests
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 30 Mar 2015 21:49:30 +0000 (17:49 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 1 Apr 2015 15:21:42 +0000 (11:21 -0400)
commitb0af587b64786b45ac9651ee4608e1edbd53a733
tree37a50a180106f37ff82070977dd69164edba5b3c
parent35c261aea0d891d31b3fda83da653cb1e385681f
Update tests for new coherence rules, and add a swatch of new tests
probing the specifics of `Fundamental`.

Fixes #23086.
Fixes #23516.
27 files changed:
src/test/auxiliary/coherence_copy_like_lib.rs [new file with mode: 0644]
src/test/compile-fail/coherence-cow-1.rs [new file with mode: 0644]
src/test/compile-fail/coherence-cow-2.rs [new file with mode: 0644]
src/test/compile-fail/coherence-cow-no-cover.rs
src/test/compile-fail/coherence-impls-copy.rs
src/test/compile-fail/coherence-impls-send.rs
src/test/compile-fail/coherence-impls-sized.rs
src/test/compile-fail/coherence-overlap-issue-23516.rs [new file with mode: 0644]
src/test/compile-fail/coherence-vec-local-2.rs [new file with mode: 0644]
src/test/compile-fail/coherence-vec-local.rs [new file with mode: 0644]
src/test/compile-fail/coherence_copy_like_err_fundamental_struct.rs [new file with mode: 0644]
src/test/compile-fail/coherence_copy_like_err_fundamental_struct_ref.rs [new file with mode: 0644]
src/test/compile-fail/coherence_copy_like_err_fundamental_struct_tuple.rs [new file with mode: 0644]
src/test/compile-fail/coherence_copy_like_err_struct.rs [new file with mode: 0644]
src/test/compile-fail/coherence_copy_like_err_tuple.rs [new file with mode: 0644]
src/test/compile-fail/coherence_local.rs [new file with mode: 0644]
src/test/compile-fail/coherence_local_err_struct.rs [new file with mode: 0644]
src/test/compile-fail/coherence_local_err_tuple.rs [new file with mode: 0644]
src/test/compile-fail/coherence_local_ref.rs [new file with mode: 0644]
src/test/compile-fail/typeck-default-trait-impl-cross-crate-coherence.rs
src/test/run-pass/coherence-cow-1.rs [deleted file]
src/test/run-pass/coherence-cow-2.rs [deleted file]
src/test/run-pass/coherence-local-1.rs [deleted file]
src/test/run-pass/coherence-local-2.rs [deleted file]
src/test/run-pass/coherence_copy_like.rs [new file with mode: 0644]
src/test/run-pass/method-two-trait-defer-resolution-2.rs
src/test/run-pass/traits-conditional-dispatch.rs