Skip to content

More unreachable_pub #129648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Aug 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e81fad2
Add `warn(unreachable_pub)` to `rustc_driver_impl`.
nnethercote Aug 27, 2024
d607cfb
Add `warn(unreachable_pub)` to `rustc_error_codes`.
nnethercote Aug 27, 2024
2b56212
Add `warn(unreachable_pub)` to `rustc_error_messages`.
nnethercote Aug 27, 2024
5fd503a
Add `warn(unreachable_pub)` to `rustc_errors`.
nnethercote Aug 27, 2024
df5fbf0
Add `warn(unreachable_pub)` to `rustc_expand`.
nnethercote Aug 27, 2024
0d8d05c
Add `warn(unreachable_pub)` to `rustc_feature`.
nnethercote Aug 27, 2024
a510813
Add `warn(unreachable_pub)` to `rustc_fluent_macro`.
nnethercote Aug 27, 2024
fa18140
Add `warn(unreachable_pub)` to `rustc_graphviz`.
nnethercote Aug 27, 2024
bffa224
Add `warn(unreachable_pub)` to `rustc_hir`.
nnethercote Aug 27, 2024
5acf4e7
Add `warn(unreachable_pub)` to `rustc_hir_analysis`.
nnethercote Aug 27, 2024
3aae994
Add `warn(unreachable_pub)` to `rustc_hir_pretty`.
nnethercote Aug 27, 2024
7fc0444
Add `warn(unreachable_pub)` to `rustc_hir_typeck`.
nnethercote Aug 27, 2024
37becf7
Add `warn(unreachable_pub)` to `rustc_incremental`.
nnethercote Aug 27, 2024
46fe09f
Add `warn(unreachable_pub)` to `rustc_index`.
nnethercote Aug 27, 2024
6887927
Add `warn(unreachable_pub)` to `rustc_infer`.
nnethercote Aug 27, 2024
a941a4b
Add `warn(unreachable_pub)` to `rustc_interface`.
nnethercote Aug 27, 2024
6c84c55
Add `warn(unreachable_pub)` to `rustc_lexer`.
nnethercote Aug 27, 2024
f102841
Add `warn(unreachable_pub)` to `rustc_lint`.
nnethercote Aug 27, 2024
e7f1922
Add `warn(unreachable_pub)` to `rustc_lint_defs`.
nnethercote Aug 27, 2024
22cdd63
Add `warn(unreachable_pub)` to `rustc_llvm`.
nnethercote Aug 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add warn(unreachable_pub) to rustc_lexer.
  • Loading branch information
nnethercote committed Aug 27, 2024
commit 6c84c55c9f279b9ea1f77c7cac3a63f0c89ab90a
1 change: 1 addition & 0 deletions compiler/rustc_lexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// We want to be able to build this crate with a stable compiler,
// so no `#![feature]` attributes should be added.
#![deny(unstable_features)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end

mod cursor;
Expand Down