about summary refs log tree commit diff
path: root/src/test/incremental
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-16 19:46:29 +0200
committerGitHub <noreply@github.com>2020-05-16 19:46:29 +0200
commitaecab5e603ad0a904f2f357470b419b2ac6014d8 (patch)
tree1aaad1682c24f4edd398524253ca85f80f3a3641 /src/test/incremental
parent6163394e1ff98c53abc9d27f68b5608faa8cd9b6 (diff)
parent6a8cf4a17c2d2b3daca27e787f4154e233ab4545 (diff)
downloadrust-aecab5e603ad0a904f2f357470b419b2ac6014d8.tar.gz
rust-aecab5e603ad0a904f2f357470b419b2ac6014d8.zip
Rollup merge of #72045 - RalfJung:incomplete-unsound, r=petrochenkov
Incomplete features can also be unsound

Some incomplete features do not just ICE, they are also currently unsound (e.g. https://github.com/rust-lang/rust/pull/72029, and also `specialization` -- which is not yet marked incomplete but [should be](https://github.com/rust-lang/rust/pull/71420)). This makes the message reflect that.

While at it I also added a link to the tracking issue, which hopefully should explain what is incomplete/unsound about the feature.
Diffstat (limited to 'src/test/incremental')
-rw-r--r--src/test/incremental/const-generics/issue-62536.rs2
-rw-r--r--src/test/incremental/const-generics/issue-64087.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/incremental/const-generics/issue-62536.rs b/src/test/incremental/const-generics/issue-62536.rs
index 90e279bfc74..0eaeb910be6 100644
--- a/src/test/incremental/const-generics/issue-62536.rs
+++ b/src/test/incremental/const-generics/issue-62536.rs
@@ -1,6 +1,6 @@
 // revisions:cfail1
 #![feature(const_generics)]
-//[cfail1]~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
+//[cfail1]~^ WARN the feature `const_generics` is incomplete
 
 struct S<T, const N: usize>([T; N]);
 
diff --git a/src/test/incremental/const-generics/issue-64087.rs b/src/test/incremental/const-generics/issue-64087.rs
index b3c12fbb6e8..6b10c540494 100644
--- a/src/test/incremental/const-generics/issue-64087.rs
+++ b/src/test/incremental/const-generics/issue-64087.rs
@@ -1,6 +1,6 @@
 // revisions:cfail1
 #![feature(const_generics)]
-//[cfail1]~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
+//[cfail1]~^ WARN the feature `const_generics` is incomplete
 
 fn combinator<T, const S: usize>() -> [T; S] {}
 //[cfail1]~^ ERROR mismatched types