about summary refs log tree commit diff
path: root/src/libcore/tests
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-19 19:42:43 -0700
committerGitHub <noreply@github.com>2020-06-19 19:42:43 -0700
commit203305d09566e2924f893ed94845253da199eeab (patch)
tree8e2967622dc42f3e709918bedc5d0f01d3a237fa /src/libcore/tests
parent34c5cd9a64d8537236626c4ccbed39a924cd38e2 (diff)
parentd1265e7679b748c3014b878c0e32178084a282ff (diff)
downloadrust-203305d09566e2924f893ed94845253da199eeab.tar.gz
rust-203305d09566e2924f893ed94845253da199eeab.zip
Rollup merge of #71420 - RalfJung:specialization-incomplete, r=matthewjasper
Specialization is unsound

As discussed in https://github.com/rust-lang/rust/issues/31844#issuecomment-617013949, it might be a good idea to warn users of specialization that the feature they are using is unsound.

I also expanded the "incomplete feature" warning to link the user to the tracking issue.
Diffstat (limited to 'src/libcore/tests')
-rw-r--r--src/libcore/tests/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/tests/lib.rs b/src/libcore/tests/lib.rs
index 37ebf411280..4e55452a4c3 100644
--- a/src/libcore/tests/lib.rs
+++ b/src/libcore/tests/lib.rs
@@ -19,7 +19,7 @@
 #![feature(raw)]
 #![feature(sort_internals)]
 #![feature(slice_partition_at_index)]
-#![feature(specialization)]
+#![feature(min_specialization)]
 #![feature(step_trait)]
 #![feature(step_trait_ext)]
 #![feature(str_internals)]