about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-02 15:56:01 -0700
committerGitHub <noreply@github.com>2020-07-02 15:56:01 -0700
commit5702b27fcd7dae477f84abaf158672c44fdf0c12 (patch)
tree2014aa6cfec0851c75366da31c1d6318af5bd200 /src/liballoc
parent441dd5ad45fc65468ab05b6e6b3409cfdf70dfbd (diff)
parentdca9310ceb495ae2d5c6c775c151d75202e686d7 (diff)
downloadrust-5702b27fcd7dae477f84abaf158672c44fdf0c12.tar.gz
rust-5702b27fcd7dae477f84abaf158672c44fdf0c12.zip
Rollup merge of #73957 - RalfJung:btree-min-max, r=shepmaster
disable BTree min_max test in Miri for now

Until https://github.com/rust-lang/rust/issues/73915 is fixed, better skip this test in Miri so that we can test the others at least.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/tests/btree/map.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/tests/btree/map.rs b/src/liballoc/tests/btree/map.rs
index 682d829d219..f66b5814ca0 100644
--- a/src/liballoc/tests/btree/map.rs
+++ b/src/liballoc/tests/btree/map.rs
@@ -310,6 +310,7 @@ fn test_iter_mixed() {
 }
 
 #[test]
+#[cfg_attr(miri, ignore)] // FIXME: fails in Miri <https://github.com/rust-lang/rust/issues/73915>
 fn test_iter_min_max() {
     let mut a = BTreeMap::new();
     assert_eq!(a.iter().min(), None);