]> git.lizzy.rs Git - rust.git/commitdiff
Rustup to rustc 1.44.0-nightly (485c5fb6e 2020-04-08)
authorbjorn3 <bjorn3@users.noreply.github.com>
Thu, 9 Apr 2020 11:22:40 +0000 (13:22 +0200)
committerbjorn3 <bjorn3@users.noreply.github.com>
Thu, 9 Apr 2020 11:22:40 +0000 (13:22 +0200)
patches/0023-core-Ignore-failing-tests.patch
rust-toolchain

index f5473834f0b45f48a5df0e3436d903e67f1dfb8d..b6b1e93bb6bf328c9b3f9010cf10696479d1c2c0 100644 (file)
@@ -28,16 +28,16 @@ index c9096b7..be37fcd 100644
  #[test]
 +#[ignore]
  fn test_range_size_hint() {
-     use core::usize::MAX as UMAX;
      assert_eq!((0..0usize).size_hint(), (0, Some(0)));
+     assert_eq!((0..100usize).size_hint(), (100, Some(100)));
 @@ -2210,6 +2212,7 @@ fn test_range_size_hint() {
  }
  
  #[test]
 +#[ignore]
  fn test_range_inclusive_size_hint() {
-     use core::usize::MAX as UMAX;
      assert_eq!((1..=0usize).size_hint(), (0, Some(0)));
+     assert_eq!((0..=0usize).size_hint(), (1, Some(1)));
 @@ -2305,6 +2308,7 @@ fn test_repeat_with_take_collect() {
  }
  
index 6eacfad019a0a1a531c9d9ac83d924ea6e207d76..64862e81715aaa699f8be72583cf51639679b67a 100644 (file)
@@ -1 +1 @@
-nightly-2020-04-03
+nightly-2020-04-09