Matthias Krüger

Results 232 issues of Matthias Krüger

Successful merges: - #131654 (Various fixes for Xous) - #131743 (rustc_metadata: minor tidying) - #131823 (Bump libc to 0.2.161) - #131850 (Missing parenthesis) - #131857 (Allow dropping dyn principal) r?...

T-compiler
S-waiting-on-bors
rollup
T-libs
WG-trait-system-refactor

auto-reduced (treereduce-rust): ````rust fn main() { let fail = -0x8000_0000_0000_0000_0000_0000_0000_0000; } ```` original: ````rust //@ check-pass #![warn(warn)] fn main() { let ok = 0b0111_1111i8; //~WARNING literal out of range for...

I-ICE
T-compiler
C-bug
requires-debug-assertions
needs-triage

snippet: ````rust #![feature(abi_x86_interrupt)] pub extern "x86-interrupt" fn f(_: ()) {} ```` Version information ```` rustc 1.81.0-nightly (9fdbfe144 2024-06-13) binary: rustc commit-hash: 9fdbfe1441a82e96e3f99ae199ff5348d8d948ae commit-date: 2024-06-13 host: x86_64-unknown-linux-gnu release: 1.81.0-nightly LLVM version:...

I-ICE
T-compiler
C-bug
F-abi_x86_interrupt

auto-reduced (treereduce-rust): ````rust #![feature(abi_x86_interrupt)] #![feature(unsized_fn_params)] struct Test; impl Test { pub extern "x86-interrupt" fn test(_a: str) {} } ```` original: ````rust struct Test; impl Test { pub extern "x86-interrupt" fn...

I-ICE
T-compiler
C-bug
F-unsized_fn_params
F-abi_x86_interrupt

snippet: ````rust #![feature(arbitrary_self_types, dispatch_from_dyn)] use std::ops::{Deref, DispatchFromDyn}; trait Trait { fn MONO_BUF(self: T) -> dyn Trait; } fn main() {} ```` Version information ```` rustc 1.80.0-nightly (366da30d5 2024-05-31) binary: rustc...

I-ICE
T-compiler
C-bug
F-arbitrary_self_types
F-dispatch_from_dyn
A-layout
S-has-mcve
S-bug-has-test

auto-reduced (treereduce-rust): ````rust #[repr(packed)] #[repr(u32)] enum E { A, B, C, } fn main() { union InvalidTag { int: u32, e: E, } let _invalid_tag = InvalidTag { int: 4...

I-ICE
T-compiler
C-bug
A-layout
-Zvalidate-mir
S-has-mcve
S-bug-has-test
A-ABI

auto-reduced (treereduce-rust): ````rust mod assert { use std::mem::{Assume, BikeshedIntrinsicFrom}; pub fn is_transmutable() where Dst: BikeshedIntrinsicFrom, { } } #[repr(u32)] enum Ox00 { V = 0x00, } enum Ox01 { V...

I-ICE
T-compiler
C-bug
A-layout
S-bug-has-test

snippet: ````rust #![feature(generic_const_exprs)] struct Outer(); impl Outer where [(); A + (B * 2)]:, { fn i() -> Self { Self } } fn main() { Outer::::o(); } ```` Version...

I-ICE
T-compiler
C-bug
A-layout
F-generic_const_exprs
S-has-mcve
S-bug-has-test
requires-incomplete-features

### Summary https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/items_after_statements.rs#L17 ![Image](https://github.com/user-attachments/assets/904966a6-822e-46f0-a164-f7b84562c951) https://rust-lang.github.io/rust-clippy/master/index.html#/items_aft

C-bug
A-website

I was looking at rls which has this warning ```` error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact. --> rls-rustc/src/lib.rs:22:5 |...

I-false-positive