#[derive(PartialEq,
Append,
Eq)]
-//~^^ ERROR: the semantics of constant patterns is not yet settled
struct A {
+//~^ ERROR: the semantics of constant patterns is not yet settled
inner: u32,
}
extern crate derive_unstable_2;
#[derive(Unstable)]
-//~^ ERROR: reserved for internal compiler
struct A;
+//~^ ERROR: reserved for internal compiler
fn main() {
foo();
extern crate derive_unstable;
#[derive(Unstable)]
-//~^ ERROR: use of unstable library feature
struct A;
+//~^ ERROR: use of unstable library feature
fn main() {
unsafe { foo(); }