Skip to content

Issues: rust-lang/rust

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

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

Built-in attributes are treated differently vs prelude attributes, unstable built-in attributes can name-collide with stable macro, and built-in attributes can break back-compat A-attributes Area: Attributes (`#[…]`, `#![…]`) A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-stability Area: `#[stable]`, `#[unstable]` etc. C-discussion Category: Discussion or questions that doesn't represent real issues. I-compiler-nominated Nominated for discussion during a compiler team meeting. I-lang-nominated Nominated for discussion during a lang team meeting. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#134963 opened Dec 31, 2024 by jieyouxu
cfg resolve diagnostic doesn't show up for axum macro A-cfg Area: `cfg` conditional compilation A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134448 opened Dec 18, 2024 by joshka
Unexpected warning when doc string invokes a macro which is defined within the same module A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133656 opened Nov 30, 2024 by rami3l
rust_2024_prelude_collisions fails with glob of underscore import A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#132864 opened Nov 10, 2024 by ehuss
Diagnostic doesn't mention cfg'ed out items if the unresolved path is simple (i.e., a single identifier) A-cfg Area: `cfg` conditional compilation A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132166 opened Oct 26, 2024 by fmease
ambiguous name when glob importing an enum into a block when variant has same name as enum A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131110 opened Oct 1, 2024 by lolbinarycat
match &[first, ..more] leads down a suggestion garden path A-diagnostics Area: Messages for errors, warnings, and lints A-patterns Relating to patterns and pattern matching A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130639 opened Sep 20, 2024 by nabijaczleweli
using super in doctests errors A-diagnostics Area: Messages for errors, warnings, and lints A-doctests Area: Documentation tests, run by rustdoc A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#130274 opened Sep 12, 2024 by y86-dev
Tracking issue for future-incompatibility lint pub_use_of_private_extern_crate A-crates Area: Crates and their interactions (like crate loading) A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-visibility Area: Visibility / privacy C-future-incompatibility Category: Future-incompatibility lints C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#127909 opened Jul 18, 2024 by RalfJung
Broken method resolution for arc-swap + diesel A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. T-types Relevant to the types team, which will review and decide on the PR/issue.
#127306 opened Jul 4, 2024 by weiznich
Associated function from super traits not accessible via sub traits A-associated-items Area: Associated items (types, constants & functions) A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#124438 opened Apr 27, 2024 by WaffleLapkin
rustc suggests for<'a> when lifetime param already exists A-diagnostics Area: Messages for errors, warnings, and lints A-lifetimes Area: Lifetimes / regions A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#123713 opened Apr 10, 2024 by Rudxain
Fallout from expansion of redundant import checking A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-resolve Area: Name/path resolution done by `rustc_resolve` specifically I-lang-nominated Nominated for discussion during a lang team meeting. L-redundant_imports Lint: redundant_imports S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#121708 opened Feb 27, 2024 by tmandry
Errors about unknown attributes when attr macro failed to resolve A-attributes Area: Attributes (`#[…]`, `#![…]`) A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121555 opened Feb 24, 2024 by Noratrieb
"item TryFrom is imported redundantly" doesn't have automatic fix A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121315 opened Feb 19, 2024 by fintelia
Broken build after updating: coverage is ambiguous; ambiguous because of a name conflict with a builtin attribute A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. P-medium Medium priority regression-untriaged Untriaged performance or correctness regression. S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#121157 opened Feb 15, 2024 by NicholasGorski
Empty super::{} and self::{} imports gives an error. A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#119776 opened Jan 9, 2024 by JeanCASPAR
Better help for pub(in parent) in edition 2018 and beyond A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-newcomer-roadblock Diagnostics: Confusing error or lint; hard to understand for new users. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#118878 opened Dec 12, 2023 by zackw
ICE: Panic on absence of crate dependency A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#114603 opened Aug 8, 2023 by elijahdl
Rustdoc fails, but there are no codeblocks A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#114025 opened Jul 24, 2023 by zmrocze
Associated item resolution fails when using both macros v2 and proc macros A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-macros-2.0 Area: Declarative macros 2.0 (#39412) A-proc-macros Area: Procedural macros A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. F-decl_macro `#![feature(decl_macro)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#113638 opened Jul 13, 2023 by Arc-blroth
Namespacing inconsistency with type and const parameters A-const-generics Area: const generics (parameters and arguments) A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-bug Category: This is a bug. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#113090 opened Jun 27, 2023 by mversic
poor diagnostic for missing extern crate in 2015 edition A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-edition Diagnostics: An error or lint that should account for edition differences.
#112809 opened Jun 19, 2023 by Deaths-Door
unreachable_pub lint does not fire in the case of partial wildcard shadowing A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-visibility Area: Visibility / privacy C-bug Category: This is a bug. L-unreachable_pub Lint: unreachable_pub T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#111360 opened May 8, 2023 by jamesmunns
Cannot detect glob re-export's shadowed items in rustdoc JSON A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-rustdoc-json Area: Rustdoc JSON backend C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#111338 opened May 8, 2023 by obi1kenobi
ProTip! Adding no:label will show everything without a label.