This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 25 files changed +52
-0
lines changed
rustc_data_structures/src Expand file tree Collapse file tree 25 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 33
33
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
34
34
#![ no_std]
35
35
#![ forbid( unsafe_code) ]
36
+ #![ deny( rustc:: untranslatable_diagnostic) ]
37
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
36
38
37
39
#[ macro_use]
38
40
extern crate alloc;
Original file line number Diff line number Diff line change 19
19
#![ feature( rustc_attrs) ]
20
20
#![ cfg_attr( test, feature( test) ) ]
21
21
#![ feature( strict_provenance) ]
22
+ #![ deny( rustc:: untranslatable_diagnostic) ]
23
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
22
24
23
25
use smallvec:: SmallVec ;
24
26
Original file line number Diff line number Diff line change 19
19
#![ feature( slice_internals) ]
20
20
#![ feature( stmt_expr_attributes) ]
21
21
#![ recursion_limit = "256" ]
22
+ #![ deny( rustc:: untranslatable_diagnostic) ]
23
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
22
24
23
25
#[ macro_use]
24
26
extern crate rustc_macros;
Original file line number Diff line number Diff line change
1
+ #![ deny( rustc:: untranslatable_diagnostic) ]
2
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
1
3
#![ feature( associated_type_bounds) ]
2
4
#![ feature( box_patterns) ]
3
5
#![ feature( with_negative_coherence) ]
Original file line number Diff line number Diff line change 28
28
#![ feature( vec_into_raw_parts) ]
29
29
#![ allow( rustc:: default_hash_types) ]
30
30
#![ allow( rustc:: potential_query_instability) ]
31
+ #![ deny( rustc:: untranslatable_diagnostic) ]
32
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
31
33
32
34
#[ macro_use]
33
35
extern crate tracing;
Original file line number Diff line number Diff line change 1
1
#![ deny( rustdoc:: invalid_codeblock_attributes) ]
2
+ #![ deny( rustc:: untranslatable_diagnostic) ]
3
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
2
4
//! This library is used to gather all error codes into one place,
3
5
//! the goal being to make their maintenance easier.
4
6
Original file line number Diff line number Diff line change 1
1
#![ feature( once_cell) ]
2
2
#![ feature( rustc_attrs) ]
3
3
#![ feature( type_alias_impl_trait) ]
4
+ #![ deny( rustc:: untranslatable_diagnostic) ]
5
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
4
6
5
7
use fluent_bundle:: FluentResource ;
6
8
use fluent_syntax:: parser:: ParserError ;
Original file line number Diff line number Diff line change 12
12
//! symbol to the `accepted` or `removed` modules respectively.
13
13
14
14
#![ feature( once_cell) ]
15
+ #![ deny( rustc:: untranslatable_diagnostic) ]
16
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
15
17
16
18
mod accepted;
17
19
mod active;
Original file line number Diff line number Diff line change
1
+ #![ deny( rustc:: untranslatable_diagnostic) ]
2
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
3
+
1
4
use std:: ffi:: CString ;
2
5
use std:: fs;
3
6
use std:: io;
Original file line number Diff line number Diff line change 273
273
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ,
274
274
test( attr( allow( unused_variables) , deny( warnings) ) )
275
275
) ]
276
+ #![ deny( rustc:: untranslatable_diagnostic) ]
277
+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
276
278
277
279
use LabelText :: * ;
278
280
You can’t perform that action at this time.
0 commit comments