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

attribute macro's call_site() hygiene should come from the macro's name, not the #[] A-attributes Area: Attributes (`#[…]`, `#![…]`) A-hygiene Area: Macro hygiene A-proc-macros Area: Procedural macros C-bug Category: This is a bug. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#134882 opened Dec 29, 2024 by programmerjake
allow_internal_unstable valid on non proc-macros A-attributes Area: Attributes (`#[…]`, `#![…]`) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133791 opened Dec 3, 2024 by jdonszelmann
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
module-level rustfmt::skip fails with confusing error A-attributes Area: Attributes (`#[…]`, `#![…]`) A-diagnostics Area: Messages for errors, warnings, and lints A-tool-attributes Area: tool attributes like `#[rustfmt::skip]` C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. 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.
#132776 opened Nov 8, 2024 by andrewbanchich
ICE: malformed malformed repr(align(N)) A-align Area: alignment control (`repr(align(N))` and so on) A-attributes Area: Attributes (`#[…]`, `#![…]`) A-repr Area: the `#[repr(stuff)]` attribute C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-low Low priority 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.
#132391 opened Oct 31, 2024 by matthiaskrgr
rustdoc: Appearance of #[doc(hidden)] differs from all the other attributes A-attributes Area: Attributes (`#[…]`, `#![…]`) A-rustdoc-ui Area: Rustdoc UI (generated HTML) C-bug Category: This is a bug. P-low Low priority requires-nightly This issue requires a nightly compiler in some way. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#132304 opened Oct 29, 2024 by fmease
We have two independent checks for "is this attribute unsafe" A-attributes Area: Attributes (`#[…]`, `#![…]`) C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131801 opened Oct 16, 2024 by RalfJung
ICE: no non-'#[track_caller]' frame found A-attributes Area: Attributes (`#[…]`, `#![…]`) A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) C-bug Category: This is a bug. 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131787 opened Oct 16, 2024 by matthiaskrgr
Tracking issue: Attribute refactor A-ast Area: AST A-attributes Area: Attributes (`#[…]`, `#![…]`) C-discussion Category: Discussion or questions that doesn't represent real issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131229 opened Oct 4, 2024 by jdonszelmann
6 tasks done
#[rustc_default_body_unstable] silently ignores implied_by and soft A-attributes Area: Attributes (`#[…]`, `#![…]`) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130603 opened Sep 20, 2024 by dianne
#[repr()] is allowed where it shouldn't A-attributes Area: Attributes (`#[…]`, `#![…]`) A-repr Area: the `#[repr(stuff)]` attribute C-bug Category: This is a bug. 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.
#129606 opened Aug 26, 2024 by Kyuuhachi
instruction_set attribute can be applied to anything A-attributes Area: Attributes (`#[…]`, `#![…]`) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#128489 opened Aug 1, 2024 by oli-obk
optimize attribute can be applied to anything A-attributes Area: Attributes (`#[…]`, `#![…]`) C-bug Category: This is a bug. 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.
#128488 opened Aug 1, 2024 by oli-obk
Repr is incorrectly documented for structs with hidden field A-attributes Area: Attributes (`#[…]`, `#![…]`) A-repr Area: the `#[repr(stuff)]` attribute C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#128364 opened Jul 29, 2024 by dtolnay
CURRENT_RUSTC_VERSION does not work with #[deprecated] A-attributes Area: Attributes (`#[…]`, `#![…]`) L-deprecated Lint: deprecated requires-internal-features This issue requires the use of internal features. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#126323 opened Jun 12, 2024 by RalfJung
#![crate_name = EXPR] semantically allows EXPR to be a macro call but otherwise mostly ignores it A-attributes Area: Attributes (`#[…]`, `#![…]`) A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-bug Category: This is a bug. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. P-high High priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#122001 opened Mar 4, 2024 by fmease
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
impl blocks do not support conditional type parameters A-attributes Area: Attributes (`#[…]`, `#![…]`) A-grammar Area: The grammar of Rust C-feature-request Category: A feature request, i.e: not implemented / a PR. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#119281 opened Dec 24, 2023 by andreisilviudragnea
Attributes within patterns do not work if there is another attribute in the same pattern or above A-attributes Area: Attributes (`#[…]`, `#![…]`) A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#118682 opened Dec 6, 2023 by xinyufort
Macro limitations in attributes 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-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#115766 opened Sep 11, 2023 by alexkazik
#![no_implicit_prelude] cannot coexist with #[rustfmt::skip] and other tool-prelude attributes A-attributes Area: Attributes (`#[…]`, `#![…]`) A-resolve Area: Name/path resolution done by `rustc_resolve` specifically 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.
#106518 opened Jan 6, 2023 by mcy
Ill-formed doc attributes on trait methods are silently ignored A-attributes Area: Attributes (`#[…]`, `#![…]`) C-bug Category: This is a bug. 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.
#101697 opened Sep 11, 2022 by zopsicle
#[deprecated] lint doesn't trigger when overriding deprecated method A-attributes Area: Attributes (`#[…]`, `#![…]`) A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. L-deprecated Lint: deprecated T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#98990 opened Jul 6, 2022 by m-ou-se
Intra-doc links don't work inside deprecated notes A-attributes Area: Attributes (`#[…]`, `#![…]`) A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name C-bug Category: This is a bug. L-deprecated Lint: deprecated T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#98342 opened Jun 21, 2022 by jplatte
Adding an attribute to a macro_exported macro and reexporting it incorrectly triggers the macro_expanded_macro_exports_accessed_by_absolute_paths error A-attributes Area: Attributes (`#[…]`, `#![…]`) 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.
#98291 opened Jun 20, 2022 by jakobrs
ProTip! Type g p on any issue or pull request to go back to the pull request listing page.