summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-1445-restrict-constants-in-patterns/feature-gate.no_gate.stderr
blob: bd294047919f132e8d1332e942e71b9baaa24332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0658]: use of unstable library feature 'structural_match'
  --> $DIR/feature-gate.rs:29:6
   |
LL | impl std::marker::StructuralPartialEq for Foo { }
   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #31434 <https://github.com/rust-lang/rust/issues/31434> for more information
   = help: add `#![feature(structural_match)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'structural_match'
  --> $DIR/feature-gate.rs:31:6
   |
LL | impl std::marker::StructuralEq for Foo { }
   |      ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #31434 <https://github.com/rust-lang/rust/issues/31434> for more information
   = help: add `#![feature(structural_match)]` to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.