diff options
Diffstat (limited to 'src/libcoretest')
| -rw-r--r-- | src/libcoretest/cmp.rs | 1 | ||||
| -rw-r--r-- | src/libcoretest/option.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libcoretest/cmp.rs b/src/libcoretest/cmp.rs index 4a38bb33d33..a25d205e225 100644 --- a/src/libcoretest/cmp.rs +++ b/src/libcoretest/cmp.rs @@ -42,6 +42,7 @@ fn test_ordering_order() { } #[test] +#[allow(deprecated)] fn test_lexical_ordering() { fn t(o1: Ordering, o2: Ordering, e: Ordering) { assert_eq!(lexical_ordering(o1, o2), e); diff --git a/src/libcoretest/option.rs b/src/libcoretest/option.rs index ed7fc3aa4f2..3f150b3d136 100644 --- a/src/libcoretest/option.rs +++ b/src/libcoretest/option.rs @@ -244,6 +244,7 @@ fn test_ord() { } #[test] +#[allow(deprecated)] fn test_mutate() { let mut x = Some(3i); assert!(x.mutate(|i| i+1)); |
