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 3333#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
3434#![ no_std]
3535#![ forbid( unsafe_code) ]
36+ #![ deny( rustc:: untranslatable_diagnostic) ]
37+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
3638
3739#[ macro_use]
3840extern crate alloc;
Original file line number Diff line number Diff line change 1919#![ feature( rustc_attrs) ]
2020#![ cfg_attr( test, feature( test) ) ]
2121#![ feature( strict_provenance) ]
22+ #![ deny( rustc:: untranslatable_diagnostic) ]
23+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
2224
2325use smallvec:: SmallVec ;
2426
Original file line number Diff line number Diff line change 1919#![ feature( slice_internals) ]
2020#![ feature( stmt_expr_attributes) ]
2121#![ recursion_limit = "256" ]
22+ #![ deny( rustc:: untranslatable_diagnostic) ]
23+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
2224
2325#[ macro_use]
2426extern 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) ]
13#![ feature( associated_type_bounds) ]
24#![ feature( box_patterns) ]
35#![ feature( with_negative_coherence) ]
Original file line number Diff line number Diff line change 2828#![ feature( vec_into_raw_parts) ]
2929#![ allow( rustc:: default_hash_types) ]
3030#![ allow( rustc:: potential_query_instability) ]
31+ #![ deny( rustc:: untranslatable_diagnostic) ]
32+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
3133
3234#[ macro_use]
3335extern crate tracing;
Original file line number Diff line number Diff line change 11#![ deny( rustdoc:: invalid_codeblock_attributes) ]
2+ #![ deny( rustc:: untranslatable_diagnostic) ]
3+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
24//! This library is used to gather all error codes into one place,
35//! the goal being to make their maintenance easier.
46
Original file line number Diff line number Diff line change 11#![ feature( once_cell) ]
22#![ feature( rustc_attrs) ]
33#![ feature( type_alias_impl_trait) ]
4+ #![ deny( rustc:: untranslatable_diagnostic) ]
5+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
46
57use fluent_bundle:: FluentResource ;
68use fluent_syntax:: parser:: ParserError ;
Original file line number Diff line number Diff line change 1212//! symbol to the `accepted` or `removed` modules respectively.
1313
1414#![ feature( once_cell) ]
15+ #![ deny( rustc:: untranslatable_diagnostic) ]
16+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
1517
1618mod accepted;
1719mod active;
Original file line number Diff line number Diff line change 1+ #![ deny( rustc:: untranslatable_diagnostic) ]
2+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
3+
14use std:: ffi:: CString ;
25use std:: fs;
36use std:: io;
Original file line number Diff line number Diff line change 273273 html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ,
274274 test( attr( allow( unused_variables) , deny( warnings) ) )
275275) ]
276+ #![ deny( rustc:: untranslatable_diagnostic) ]
277+ #![ deny( rustc:: diagnostic_outside_of_impl) ]
276278
277279use LabelText :: * ;
278280
You can’t perform that action at this time.
0 commit comments