bless all

This commit is contained in:
Ralf Jung 2020-06-16 10:06:35 +02:00
parent 5fbef22a44
commit 991dfe7595
54 changed files with 151 additions and 76 deletions

View File

@ -1,6 +1,6 @@
// compile-fail
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
pub trait Foo {
fn foo();

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/defaults-specialization.rs:3:38
|
LL | #![feature(associated_type_defaults, specialization)]

View File

@ -4,6 +4,7 @@
//
// No we expect to run into a more user-friendly cycle error instead.
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
trait Trait<T> { type Assoc; }
//~^ ERROR E0391

View File

@ -1,16 +1,25 @@
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:6:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
error[E0391]: cycle detected when building specialization graph of trait `Trait`
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:8:1
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
|
LL | trait Trait<T> { type Assoc; }
| ^^^^^^^^^^^^^^
|
= note: ...which again requires building specialization graph of trait `Trait`, completing the cycle
note: cycle used when coherence checking all impls of trait `Trait`
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:8:1
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
|
LL | trait Trait<T> { type Assoc; }
| ^^^^^^^^^^^^^^
error: aborting due to previous error
error: aborting due to previous error; 1 warning emitted
For more information about this error, try `rustc --explain E0391`.

View File

@ -1,4 +1,5 @@
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
trait SpaceLlama {
fn fly(&self);

View File

@ -1,5 +1,14 @@
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/E0520.rs:1:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
error[E0520]: `fly` specializes an item from a parent `impl`, but that item is not marked `default`
--> $DIR/E0520.rs:16:5
--> $DIR/E0520.rs:17:5
|
LL | / impl<T: Clone> SpaceLlama for T {
LL | | fn fly(&self) {}
@ -11,6 +20,6 @@ LL | default fn fly(&self) {}
|
= note: to specialize, `fly` in the parent `impl` must be marked `default`
error: aborting due to previous error
error: aborting due to previous error; 1 warning emitted
For more information about this error, try `rustc --explain E0520`.

View File

@ -1,5 +1,6 @@
// check-pass
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
fn main() {}

View File

@ -0,0 +1,11 @@
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-35376.rs:2:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
warning: 1 warning emitted

View File

@ -1,5 +1,6 @@
// run-pass
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
trait Iterate<'a> {
type Ty: Valid;

View File

@ -0,0 +1,11 @@
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-38091.rs:2:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
warning: 1 warning emitted

View File

@ -1,6 +1,6 @@
// run-pass
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
pub trait Foo {
fn abc() -> u32;

View File

@ -0,0 +1,11 @@
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-55380.rs:2:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
warning: 1 warning emitted

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/overlap-doesnt-conflict-with-specialization.rs:4:12
|
LL | #![feature(specialization)]

View File

@ -1,6 +1,7 @@
// Semantically, we do not allow e.g., `static X: u8 = 0;` as an associated item.
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
fn main() {}

View File

@ -1,17 +1,17 @@
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:9:5
--> $DIR/assoc-static-semantic-fail.rs:10:5
|
LL | static IA: u8 = 0;
| ^^^^^^^^^^^^^^^^^^
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:11:5
--> $DIR/assoc-static-semantic-fail.rs:12:5
|
LL | static IB: u8;
| ^^^^^^^^^^^^^^
error: a static item cannot be `default`
--> $DIR/assoc-static-semantic-fail.rs:14:5
--> $DIR/assoc-static-semantic-fail.rs:15:5
|
LL | default static IC: u8 = 0;
| ^^^^^^^ `default` because of this
@ -19,13 +19,13 @@ LL | default static IC: u8 = 0;
= note: only associated `fn`, `const`, and `type` items can be `default`
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:14:5
--> $DIR/assoc-static-semantic-fail.rs:15:5
|
LL | default static IC: u8 = 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: a static item cannot be `default`
--> $DIR/assoc-static-semantic-fail.rs:17:16
--> $DIR/assoc-static-semantic-fail.rs:18:16
|
LL | pub(crate) default static ID: u8;
| ^^^^^^^ `default` because of this
@ -33,25 +33,25 @@ LL | pub(crate) default static ID: u8;
= note: only associated `fn`, `const`, and `type` items can be `default`
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:17:5
--> $DIR/assoc-static-semantic-fail.rs:18:5
|
LL | pub(crate) default static ID: u8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:24:5
--> $DIR/assoc-static-semantic-fail.rs:25:5
|
LL | static TA: u8 = 0;
| ^^^^^^^^^^^^^^^^^^
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:26:5
--> $DIR/assoc-static-semantic-fail.rs:27:5
|
LL | static TB: u8;
| ^^^^^^^^^^^^^^
error: a static item cannot be `default`
--> $DIR/assoc-static-semantic-fail.rs:28:5
--> $DIR/assoc-static-semantic-fail.rs:29:5
|
LL | default static TC: u8 = 0;
| ^^^^^^^ `default` because of this
@ -59,13 +59,13 @@ LL | default static TC: u8 = 0;
= note: only associated `fn`, `const`, and `type` items can be `default`
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:28:5
--> $DIR/assoc-static-semantic-fail.rs:29:5
|
LL | default static TC: u8 = 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: a static item cannot be `default`
--> $DIR/assoc-static-semantic-fail.rs:31:16
--> $DIR/assoc-static-semantic-fail.rs:32:16
|
LL | pub(crate) default static TD: u8;
| ^^^^^^^ `default` because of this
@ -73,25 +73,25 @@ LL | pub(crate) default static TD: u8;
= note: only associated `fn`, `const`, and `type` items can be `default`
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:31:5
--> $DIR/assoc-static-semantic-fail.rs:32:5
|
LL | pub(crate) default static TD: u8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:38:5
--> $DIR/assoc-static-semantic-fail.rs:39:5
|
LL | static TA: u8 = 0;
| ^^^^^^^^^^^^^^^^^^
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:40:5
--> $DIR/assoc-static-semantic-fail.rs:41:5
|
LL | static TB: u8;
| ^^^^^^^^^^^^^^
error: a static item cannot be `default`
--> $DIR/assoc-static-semantic-fail.rs:43:5
--> $DIR/assoc-static-semantic-fail.rs:44:5
|
LL | default static TC: u8 = 0;
| ^^^^^^^ `default` because of this
@ -99,13 +99,13 @@ LL | default static TC: u8 = 0;
= note: only associated `fn`, `const`, and `type` items can be `default`
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:43:5
--> $DIR/assoc-static-semantic-fail.rs:44:5
|
LL | default static TC: u8 = 0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: a static item cannot be `default`
--> $DIR/assoc-static-semantic-fail.rs:46:9
--> $DIR/assoc-static-semantic-fail.rs:47:9
|
LL | pub default static TD: u8;
| ^^^^^^^ `default` because of this
@ -113,13 +113,13 @@ LL | pub default static TD: u8;
= note: only associated `fn`, `const`, and `type` items can be `default`
error: associated `static` items are not allowed
--> $DIR/assoc-static-semantic-fail.rs:46:5
--> $DIR/assoc-static-semantic-fail.rs:47:5
|
LL | pub default static TD: u8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: associated constant in `impl` without body
--> $DIR/assoc-static-semantic-fail.rs:11:5
--> $DIR/assoc-static-semantic-fail.rs:12:5
|
LL | static IB: u8;
| ^^^^^^^^^^^^^-
@ -127,7 +127,7 @@ LL | static IB: u8;
| help: provide a definition for the constant: `= <expr>;`
error: associated constant in `impl` without body
--> $DIR/assoc-static-semantic-fail.rs:17:5
--> $DIR/assoc-static-semantic-fail.rs:18:5
|
LL | pub(crate) default static ID: u8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
@ -135,13 +135,13 @@ LL | pub(crate) default static ID: u8;
| help: provide a definition for the constant: `= <expr>;`
error[E0449]: unnecessary visibility qualifier
--> $DIR/assoc-static-semantic-fail.rs:31:5
--> $DIR/assoc-static-semantic-fail.rs:32:5
|
LL | pub(crate) default static TD: u8;
| ^^^^^^^^^^
error: associated constant in `impl` without body
--> $DIR/assoc-static-semantic-fail.rs:40:5
--> $DIR/assoc-static-semantic-fail.rs:41:5
|
LL | static TB: u8;
| ^^^^^^^^^^^^^-
@ -149,7 +149,7 @@ LL | static TB: u8;
| help: provide a definition for the constant: `= <expr>;`
error: associated constant in `impl` without body
--> $DIR/assoc-static-semantic-fail.rs:46:5
--> $DIR/assoc-static-semantic-fail.rs:47:5
|
LL | pub default static TD: u8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^-
@ -157,11 +157,20 @@ LL | pub default static TD: u8;
| help: provide a definition for the constant: `= <expr>;`
error[E0449]: unnecessary visibility qualifier
--> $DIR/assoc-static-semantic-fail.rs:46:5
--> $DIR/assoc-static-semantic-fail.rs:47:5
|
LL | pub default static TD: u8;
| ^^^ `pub` not permitted here because it's implied
error: aborting due to 24 previous errors
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/assoc-static-semantic-fail.rs:3:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
error: aborting due to 24 previous errors; 1 warning emitted
For more information about this error, try `rustc --explain E0449`.

View File

@ -1,6 +1,7 @@
// Test successful and unsuccessful parsing of the `default` contextual keyword
#![feature(specialization)]
//~^ WARN the feature `specialization` is incomplete
trait Foo {
fn foo<T: Default>() -> T;

View File

@ -1,5 +1,5 @@
error: `default` is not followed by an item
--> $DIR/default.rs:22:5
--> $DIR/default.rs:23:5
|
LL | default pub fn foo<T: Default>() -> T { T::default() }
| ^^^^^^^ the `default` qualifier
@ -7,7 +7,7 @@ LL | default pub fn foo<T: Default>() -> T { T::default() }
= note: only `fn`, `const`, `type`, or `impl` items may be prefixed by `default`
error: non-item in item list
--> $DIR/default.rs:22:13
--> $DIR/default.rs:23:13
|
LL | impl Foo for u32 {
| - item list starts here
@ -18,13 +18,22 @@ LL | }
| - item list ends here
error[E0449]: unnecessary visibility qualifier
--> $DIR/default.rs:16:5
--> $DIR/default.rs:17:5
|
LL | pub default fn foo<T: Default>() -> T {
| ^^^ `pub` not permitted here because it's implied
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/default.rs:3:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
error[E0046]: not all trait items implemented, missing: `foo`
--> $DIR/default.rs:21:1
--> $DIR/default.rs:22:1
|
LL | fn foo<T: Default>() -> T;
| -------------------------- `foo` from trait
@ -32,7 +41,7 @@ LL | fn foo<T: Default>() -> T;
LL | impl Foo for u32 {
| ^^^^^^^^^^^^^^^^ missing `foo` in implementation
error: aborting due to 4 previous errors
error: aborting due to 4 previous errors; 1 warning emitted
Some errors have detailed explanations: E0046, E0449.
For more information about an error, try `rustc --explain E0046`.

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/assoc-ty-graph-cycle.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/cross-crate-defaults.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/allowed-cross-crate.rs:8:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/out-of-order.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/overlap-projection.rs:7:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/projection.rs:4:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-no-default.rs:1:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-wfcheck.rs:3:12
|
LL | #![feature(specialization)]

View File

@ -8,7 +8,7 @@ LL | default impl S {}
|
= note: only trait implementations may be annotated with `default`
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/validation.rs:2:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-36804.rs:2:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-39448.rs:1:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-39618.rs:7:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-50452.rs:3:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-52050.rs:1:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-63716-parse-async.rs:7:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-70442.rs:1:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/non-defaulted-item-fail.rs:1:12
|
LL | #![feature(specialization, associated_type_defaults)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-allowed-cross-crate.rs:8:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-assoc-fns.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-basics.rs:3:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-cross-crate.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-default-methods.rs:3:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-default-projection.rs:1:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-default-types.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-no-default.rs:1:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-on-projection.rs:4:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-out-of-order.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-overlap-negative.rs:2:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-overlap-projection.rs:7:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-overlap.rs:1:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-polarity.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-projection-alias.rs:5:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-projection.rs:4:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-translate-projections-with-lifetimes.rs:3:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-translate-projections-with-params.rs:7:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/specialization-translate-projections.rs:6:12
|
LL | #![feature(specialization)]

View File

@ -1,4 +1,4 @@
warning: the feature `specialization` is incomplete and may be unsafe to use and/or cause compiler crashes
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/transmute-specialization.rs:3:12
|
LL | #![feature(specialization)]