1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 #![allow(non_snake_case)]
13 register_diagnostic! {
16 This error suggests that the expression arm corresponding to the noted pattern
17 will never be reached as for all possible values of the expression being matched,
18 one of the preceeding patterns will match.
20 This means that perhaps some of the preceeding patterns are too general, this
21 one is too specific or the ordering is incorrect.
24 register_diagnostics! {
58 E0040, // explicit use of destructor method
153 E0173, // manual implementations of unboxed closure traits are experimental
154 E0174, // explicit use of unboxed closure methods are experimental