-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Label
Projects
Milestones
Assignee
Sort
Issues list
Incorrect suggestion to derive Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Clone
on Vec
directly
A-diagnostics
#134471
opened Dec 18, 2024 by
cyrgani
Detect different borrowing in different sub-expressions the same expression and suggest borrowing when applicable
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#134219
opened Dec 12, 2024 by
estebank
Invalid suggestion on anonymous lifetime parameter in precise capturing list if there are no input lifetimes
A-diagnostics
Area: Messages for errors, warnings, and lints
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-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
F-precise_capturing
`#![feature(precise_capturing)]`
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#134194
opened Dec 12, 2024 by
fmease
Some code suggestions failed to be shown due to span tweaking
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#134061
opened Dec 9, 2024 by
js2xxx
Bad Area: The 2024 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
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.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
L-impl_trait_overcaptures
Lint: impl_trait_overcaptures
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
+ use<>
suggestion in nested macro_rules
A-edition-2024
#133769
opened Dec 2, 2024 by
ehuss
Bad suggestion in dependency_on_unit_never_type_fallback for fragment coming from a macro input
A-edition-2024
Area: The 2024 edition
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.
L-dependency_on_unit_never_type_fallback
Lint: dependency_on_unit_never_type_fallback
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#133766
opened Dec 2, 2024 by
ehuss
cargo fix
produces incorrect code when removing last unused dependency next to self as __
syntax
A-lints
#133750
opened Dec 2, 2024 by
bragov4ik
keyword-idents is incompatible with macros
A-edition-2024
Area: The 2024 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
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.
L-keyword_idents
Lint group: keyword_idents
L-keyword_idents_2024
Lint: keyword_idents_2024
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#133709
opened Dec 1, 2024 by
ehuss
Unnecessarily complex suggestion when using extraneous reference type
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#133685
opened Nov 30, 2024 by
dbdr
Bad span in suggestion for unsafe_attr_outside_unsafe in macro expansion with cfg_attr
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2024
Area: The 2024 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
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.
L-unsafe_attr_outside_unsafe
Lint: unsafe_attr_outside_unsafe
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#132908
opened Nov 11, 2024 by
ehuss
Bad suggestion for macro_rules macros generated from a proc-macro
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2024
Area: The 2024 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
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.
L-unsafe_op_in_unsafe_fn
Lint: unsafe_op_in_unsafe_fn
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#132906
opened Nov 11, 2024 by
ehuss
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
unsafe_op_in_unsafe_fn causes unnecessary unsafe warnings
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2024
Area: The 2024 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-edition
Diagnostics: An error or lint that should account for edition differences.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
L-false-positive
Lint: False positive (should not have fired).
L-unsafe_op_in_unsafe_fn
Lint: unsafe_op_in_unsafe_fn
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#132856
opened Nov 10, 2024 by
ehuss
Suggest swapping the equality when the message Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
can't compare
occurs
A-diagnostics
#132695
opened Nov 6, 2024 by
makai410
Explore possible suggestions for Area: Lints (warnings about flaws in source code) such as unused_mut.
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
dangling_pointers_from_temporaries
lint
A-lints
#132283
opened Oct 28, 2024 by
Urgau
incorrect suggestion for Area: Messages for errors, warnings, and lints
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.
F-precise_capturing
`#![feature(precise_capturing)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
use<...>
bound that captures multiple lifetimes
A-diagnostics
#132199
opened Oct 26, 2024 by
m4rch3n1ng
Misspelled module names should look for similar modules
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#131366
opened Oct 7, 2024 by
joshtriplett
impl-trait-overcaptures cannot be applied, missing parens
A-diagnostics
Area: Messages for errors, warnings, and lints
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.
#130957
opened Sep 27, 2024 by
matthiaskrgr
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
#[diagnostic::on_unimplemented]
fails to trigger when certain impls are present
A-diagnostics
#130563
opened Sep 19, 2024 by
joshlf
Detect when Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
?
is being called on a type *after* .unwrap
or .expect
was called on a Result
or Option
A-diagnostics
#127345
opened Jul 4, 2024 by
estebank
Inline Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
F-inline_const
Inline constants (aka: const blocks, const expressions, anonymous constants)
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.
const
expression inside vec!
/macros should suggest adding parentheses under edition <2024
A-diagnostics
#126459
opened Jun 14, 2024 by
Zalathar
When looking for alternative places for method not found, look at parent expresions for it
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-papercut
Diagnostics: An error or lint that needs small tweaks.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#126131
opened Jun 7, 2024 by
estebank
Wrong import hint
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#125547
opened May 25, 2024 by
nxcy
When using Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
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.
Box<self>
in first method parameter, the error output provides the wrong type in help message
A-diagnostics
#124657
opened May 3, 2024 by
sisungo
Previous Next
ProTip!
no:milestone will show everything without a milestone.