Skip to content

Issues: rust-lang/rust

Draft release notes for 1.87
#140133 opened Apr 21, 2025 by BoxyUwU
Open 5
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

Malformed suggestion for E0061 when in macro context and method is a macro token A-diagnostics 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.
#140512 opened Apr 30, 2025 by nagisa
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-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
ICE: Special char (like RTL(U+202E)) in comment for value in vec! would cause ICE if not add #[allow(text_direction_codepoint_in_literal)] 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, ..) C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ L-text_direction_codepoint_in_literal Lint: text_direction_codepoint_in_literal T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#140281 opened Apr 25, 2025 by wychlw
Add support for repetition to proc_macro::quote A-macros 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
#140238 opened Apr 24, 2025 by tgross35
Incorrect '&'-reference removal A-diagnostics 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.
#140166 opened Apr 22, 2025 by adi-joshi
Missing use std::fmt::Write; with write!: rustc suggests editing the sysroot A-diagnostics 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.
#139830 opened Apr 15, 2025 by Sky9x
cargo fix --edition failed: error: expected item after attributes 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, ..) C-bug Category: This is a bug. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. F-precise_capturing `#![feature(precise_capturing)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#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 dbg! macro A-diagnostics 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.
#139253 opened Apr 2, 2025 by jjl9807
Misleading diagnostic for error[E0277] A-diagnostics 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.
#139251 opened Apr 2, 2025 by jjl9807
Confusing suggestions for error[E0599]: cannot write into String A-diagnostics 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.
#139051 opened Mar 28, 2025 by jjl9807
2
1
Misleading compiler suggestion: Add semicolon in rustlib due to missing ; in user code A-diagnostics 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.
#139049 opened Mar 28, 2025 by jjl9807
#![no_implicit_prelude] does not disable macros A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-maybe-future-edition Something we may consider for a future edition. 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.
#138756 opened Mar 20, 2025 by kpreid
Confusing error "the trait bound u8: Termination is not satisfied" when duplicated function is marked as #[test] A-diagnostics 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.
#138367 opened Mar 11, 2025 by karolzwolak
False-positive unused_parens missing macro cases A-diagnostics 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.
#138234 opened Mar 8, 2025 by MultisampledNight
Using ${index()} inside ${concat()} fails with "expected identifier or string literal" error A-macros 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.
#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 ... in this scope" does not compile A-diagnostics 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.
#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 #[derive(Debug)] enum + dbg! is quadratic with enum variants A-macros 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.
#133945 opened Dec 6, 2024 by theemathas
Bad + use<> suggestion in nested macro_rules 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. 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.
#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-#[macro_export]'ed macro_rules! macros are impossible to disambiguate from built-in attributes in use declarations A-attributes 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.
#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
ProTip! Type g i on any issue or pull request to go back to the issue listing page.