Skip to content

Commit 3c47665

Browse files
committed
Remove unused allow attrs
1 parent c720f49 commit 3c47665

File tree

11 files changed

+0
-16
lines changed

11 files changed

+0
-16
lines changed

compiler/rustc_codegen_gcc/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#![doc(rust_logo)]
2020
#![feature(rustdoc_internals)]
2121
#![feature(rustc_private)]
22-
#![allow(broken_intra_doc_links)]
2322
#![recursion_limit = "256"]
2423
#![warn(rust_2018_idioms)]
2524
#![warn(unused_lifetimes)]

compiler/rustc_codegen_llvm/src/llvm/enzyme_ffi.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_camel_case_types)]
21
#![expect(dead_code)]
32

43
use libc::{c_char, c_uint};

compiler/rustc_errors/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
//! This module contains the code for creating and emitting diagnostics.
44
55
// tidy-alphabetical-start
6-
#![allow(incomplete_features)]
76
#![allow(internal_features)]
87
#![allow(rustc::diagnostic_outside_of_impl)]
98
#![allow(rustc::direct_use_of_rustc_type_ir)]

compiler/rustc_infer/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
1515
// tidy-alphabetical-start
1616
#![allow(internal_features)]
17-
#![allow(rustc::diagnostic_outside_of_impl)]
1817
#![allow(rustc::direct_use_of_rustc_type_ir)]
19-
#![allow(rustc::untranslatable_diagnostic)]
2018
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
2119
#![doc(rust_logo)]
2220
#![feature(assert_matches)]

compiler/rustc_lint/src/early/diagnostics.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#![allow(rustc::diagnostic_outside_of_impl)]
2-
#![allow(rustc::untranslatable_diagnostic)]
3-
41
use std::borrow::Cow;
52

63
use rustc_ast::util::unicode::TEXT_FLOW_CONTROL_CHARS;

compiler/rustc_lint/src/lints.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(rustc::diagnostic_outside_of_impl)]
21
#![allow(rustc::untranslatable_diagnostic)]
32
use std::num::NonZero;
43

compiler/rustc_middle/src/arena.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(rustc::usage_of_ty_tykind)]
2-
31
/// This higher-order macro declares a list of types which can be allocated by `Arena`.
42
///
53
/// Specifying the `decode` modifier will add decode impls for `&T` and `&[T]` where `T` is the type

compiler/rustc_parse/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! The main parser interface.
22
33
// tidy-alphabetical-start
4-
#![allow(internal_features)]
54
#![allow(rustc::diagnostic_outside_of_impl)]
65
#![allow(rustc::untranslatable_diagnostic)]
76
#![feature(assert_matches)]

compiler/rustc_pattern_analysis/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// tidy-alphabetical-start
66
#![allow(rustc::diagnostic_outside_of_impl)]
77
#![allow(rustc::untranslatable_diagnostic)]
8-
#![allow(unused_crate_dependencies)]
98
// tidy-alphabetical-end
109

1110
pub mod constructor;

compiler/rustc_query_impl/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
// tidy-alphabetical-start
44
#![allow(internal_features)]
5-
#![allow(unused_parens)]
65
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
76
#![doc(rust_logo)]
87
#![feature(min_specialization)]

0 commit comments

Comments
 (0)