-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
#[derive(PartialEq)] does not reorder field comparisons to improve performance
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#141141
opened May 17, 2025 by
Sol-Ell
file!()
returns incorrect Path
s on WASM target built on Windows.
A-macros
#140883
opened May 10, 2025 by
andriyDev
ICE: expand: unimplemented
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
F-macro_metavar_expr
`#![feature(macro_metavar_expr)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
S-has-bisection
Status: A bisection has been found for this issue
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.
#140479
opened Apr 29, 2025 by
matthiaskrgr
Add support for repetition to Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-proc-macros
Area: Procedural macros
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
WG-macros
Working group: Macros
proc_macro::quote
A-macros
#140238
opened Apr 24, 2025 by
tgross35
Missing 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-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.
use std::fmt::Write;
with write!
: rustc suggests editing the sysroot
A-diagnostics
#139830
opened Apr 15, 2025 by
Sky9x
cargo fix --edition
failed: error: expected item after attributes
A-edition-2024
#139567
opened Apr 9, 2025 by
eval-exec
Creeping macro expansion - possible exponential time?
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#139306
opened Apr 3, 2025 by
matthiasbeyer
Inappropriate suggestion when mismatched types occur in the Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
dbg!
macro
A-diagnostics
#139253
opened Apr 2, 2025 by
jjl9807
Misleading diagnostic for Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
error[E0277]
A-diagnostics
#139251
opened Apr 2, 2025 by
jjl9807
Confusing suggestions for Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
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.
error[E0599]: cannot write into String
A-diagnostics
#139051
opened Mar 28, 2025 by
jjl9807
Misleading compiler suggestion: Add semicolon in rustlib due to missing Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
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.
;
in user code
A-diagnostics
#139049
opened Mar 28, 2025 by
jjl9807
#![no_implicit_prelude]
does not disable macros
A-macros
#138756
opened Mar 20, 2025 by
kpreid
Confusing error "the trait bound Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
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.
u8: Termination
is not satisfied" when duplicated function is marked as #[test]
A-diagnostics
#138367
opened Mar 11, 2025 by
karolzwolak
False-positive Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
L-false-positive
Lint: False positive (should not have fired).
L-unused_parens
Lint: unused_parens
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
unused_parens
missing macro cases
A-diagnostics
#138234
opened Mar 8, 2025 by
MultisampledNight
Using Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
F-macro_metavar_expr_concat
`#![feature(macro_metavar_expr_concat)]`
F-macro_metavar_expr
`#![feature(macro_metavar_expr)]`
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
${index()}
inside ${concat()}
fails with "expected identifier or string literal" error
A-macros
#138181
opened Mar 7, 2025 by
MonterraByte
Nested macro_rules and edition spans
A-hygiene
Area: Macro hygiene
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-edition
Relevant to the edition team.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#137031
opened Feb 14, 2025 by
ehuss
Suggested fix for "cannot find macro 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`
C-bug
Category: This is a bug.
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.
...
in this scope" does not compile
A-diagnostics
#136140
opened Jan 27, 2025 by
rusty-snake
E0308 Suggestion gets added to unrelated code and error span is too big
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
D-imprecise-spans
Diagnostics: spans don't point to exactly the erroneous code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#134445
opened Dec 17, 2024 by
LasterAlex
Compiling Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#[derive(Debug)] enum
+ dbg!
is quadratic with enum variants
A-macros
#133945
opened Dec 6, 2024 by
theemathas
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
I-edition-triaged
Issue: This issue has been reviewed and triaged by the Edition team.
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
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.
I-edition-triaged
Issue: This issue has been reviewed and triaged by the Edition team.
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
non-Area: Attributes (`#[…]`, `#![…]`)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#[macro_export]
'ed macro_rules!
macros are impossible to disambiguate from built-in attributes in use
declarations
A-attributes
#133708
opened Dec 1, 2024 by
kanashimia
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
#[derive(Debug)] on #[repr(packed)] enum causes internal compiler error
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-repr-packed
Area: the naughtiest repr
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.
#133025
opened Nov 14, 2024 by
urinacon
Misleading error messages when using the wrong macro fragment specifiers
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
#132655
opened Nov 5, 2024 by
szostid
Previous Next
ProTip!
Follow long discussions with comments:>50.