Skip to content

issues Search Results · repo:rust-lang/rust language:Rust

Filter by

58k results
 (218 ms)

58k results

inrust-lang/rust (press backspace or delete to remove)

!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. I tried this code: std::thread::spawn(move || ...
C-bug
needs-triage
  • chengshuyi
  • Opened 
    20 minutes ago
  • #142820

A developer reported that --emit mir wasn t creating a .mir file next to their source file: $ rustc foobar.rs --emit mir -Cdebuginfo=2 -Csymbol-mangling-version -optimize -Ccodegen-units=1 $ ls foobar.rs ...
A-CLI
A-diagnostics
T-compiler
  • wesleywiser
  • Opened 
    11 hours ago
  • #142812

Code trait Pair { type Left; type Right; fn cons(left: Self::Left, right: Self::Right) - Self; fn split(self) - (Self::Left, Self::Right); } impl A, B Pair for (A, B) { type ...
A-diagnostics
A-suggestion-diagnostics
A-trait-system
D-invalid-suggestion
T-compiler
  • lolbinarycat
  • Opened 
    15 hours ago
  • #142803

Code struct SomeStruct { some_field: u64, } trait SomeTrait { type SomeType; fn foo(); } impl SomeTrait for bool { type SomeType = SomeStruct; fn foo() { let ss = Self::SomeType; ...
A-associated-items
A-diagnostics
D-incorrect
D-papercut
T-compiler
  • tjhance
  • 1
  • Opened 
    16 hours ago
  • #142797

!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. I tried this code: #![feature(autodiff)] use std::autodiff::autodiff_reverse; ...
C-bug
E-easy
F-autodiff
  • ZuseZ4
  • Opened 
    16 hours ago
  • #142796

reproduction steps 1. open standard library docs 2. search u32 - Option char or char::from_u32 expected outcome deprecated std::char::from_u32 shows after all the associated methods of char. actual ...
A-rustdoc-search
C-enhancement
T-rustdoc-frontend
  • lolbinarycat
  • Opened 
    17 hours ago
  • #142793

Code fn test() { takes_two_args(|s| { s.to_string(); }); } fn takes_two_args(thing: u32, f: impl Fn( str)) { todo!(); } Current output error[E0282]: type annotations needed -- ...
A-diagnostics
T-compiler
  • camsteffen
  • Opened 
    17 hours ago
  • #142790

!-- [31mICE[0m: Rustc ./a.rs thread rustc panicked at /rustc-dev/3b97f1308ff72016a4aaa93fbe6d09d4d6427815/compiler/rustc_hir/src/hir.rs:1305:18: can t get the span of an arbitrary parsed attribute: ...
A-attributes
C-bug
I-ICE
needs-triage
T-compiler
  • matthiaskrgr
  • 6
  • Opened 
    20 hours ago
  • #142783

For traits like Iterator or Future, it s essential to know what is their associated type. However, lists of trait implementations can be folded into a summary, and the summary hides the associated type. ...
A-rustdoc-ui
C-feature-request
T-rustdoc-frontend
  • kornelski
  • Opened 
    21 hours ago
  • #142782

No idea how it came into existence, but people in rust discord said it s better to submit the bug. The code can be found here, but I only stumbled on it once so it is not reproducible at least for me. ...
-Zshare-generics
A-cranelift
A-incr-comp
A-query-system
C-bug
I-ICE
requires-nightly
S-needs-repro
T-compiler
  • olekspickle
  • Opened 
    23 hours ago
  • #142778
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub