]> git.lizzy.rs Git - rust.git/blob - src/librustc_resolve/diagnostics.rs
rollup merge of #21438: taralx/kill-racycell
[rust.git] / src / librustc_resolve / diagnostics.rs
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.
4 //
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.
10
11 #![allow(non_snake_case)]
12
13 register_diagnostics! {
14     E0157,
15     E0153,
16     E0251, // a named type or value has already been imported in this module
17     E0252, // a named type or value has already been imported in this module
18     E0253, // not directly importable
19     E0254, // import conflicts with imported crate in this module
20     E0255, // import conflicts with value in this module
21     E0256, // import conflicts with type in this module
22     E0257, // inherent implementations are only allowen on types defined in the current module
23     E0258, // import conflicts with existing submodule
24     E0259, // an extern crate has already been imported into this module
25     E0260 // name conflicts with an external crate that has been imported into this module
26 }
27
28 __build_diagnostic_array! { DIAGNOSTICS }