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

Inline const expression inside vec!/macros should suggest adding parentheses under edition <2024 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-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.
#126459 opened Jun 14, 2024 by Zalathar
Inappropriate unused_parens for inline const inside vec!/macros A-lint 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-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) L-unused_parens Lint: unused_parens 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.
#126457 opened Jun 14, 2024 by Zalathar
const blocks don't have a recursion limit or timeout, causing the compiler to freeze in an infinite loop A-const-eval Area: Constant evaluation (MIR interpretation) A-const-fn Area: const fn foo(..) {..}. Pure functions which can be applied at compile time. C-bug Category: This is a bug. F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. I-hang Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc. I-prioritize Issue: Indicates that prioritization has been requested for this issue. regression-untriaged Untriaged performance or correctness regression. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#125718 opened May 29, 2024 by theemathas
ICE: mir build: scope: index out of bounds: the len is 0 but the index is 0 C-bug Category: This is a bug. E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-high High priority 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.
#125670 opened May 28, 2024 by matthiaskrgr
generic_const_exprs and inline_const interact poorly. C-bug Category: This is a bug. F-generic_const_exprs `#![feature(generic_const_exprs)]` F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#124167 opened Apr 19, 2024 by emilio
generic_const_exprs can break inline const blocks A-const-generics Area: const generics (parameters and arguments) C-bug Category: This is a bug. F-generic_const_exprs `#![feature(generic_const_exprs)]` F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#116320 opened Oct 1, 2023 by calebzulawski
Non-terminals, e.g. expr, have diverged between parser and macro matcher 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. A-parser Area: The parsing of Rust source code to an AST F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) F-let_chains `#![feature(let_chains)]` T-lang Relevant to the language team, which will review and decide on the PR/issue.
#86730 opened Jun 29, 2021 by pnkfelix
Improve error for missing braces in const block A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The parsing of Rust source code to an AST C-enhancement Category: An issue proposing an enhancement or a PR with one. D-confusing Diagnostics: Confusing error or lint that should be reworked. F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#78168 opened Oct 20, 2020 by camelid
Tracking Issue for inline const patterns (RFC 2920) A-const-eval Area: Constant evaluation (MIR interpretation) B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. F-inline_const_pat #![feature(inline_const_pat)] F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) S-tracking-needs-summary Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation. 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.
#76001 opened Aug 27, 2020 by nikomatsakis
9 of 11 tasks
ProTip! Updated in the last three days: updated:>2024-10-08.