rust/library/alloc
Trevor Gross 2fe41869c9
Rollup merge of #130914 - compiler-errors:insignificant-dtor, r=Amanieu
Mark some more types as having insignificant dtor

These were caught by https://github.com/rust-lang/rust/pull/129864#issuecomment-2376658407, which is implementing a lint for some changes in drop order for temporaries in tail expressions.

Specifically, the destructors of `CString` and the bitpacked repr for `std::io::Error` are insignificant insofar as they don't have side-effects on things like locking or synchronization; they just free memory.

See some discussion on #89144 for what makes a drop impl "significant"
2024-09-30 19:18:50 -04:00
..
benches Improve autovectorization of to_lowercase / to_uppercase functions 2024-09-23 11:31:29 +02:00
src Rollup merge of #130914 - compiler-errors:insignificant-dtor, r=Amanieu 2024-09-30 19:18:50 -04:00
tests Improve autovectorization of to_lowercase / to_uppercase functions 2024-09-23 11:31:29 +02:00
Cargo.toml Update compiler_builtins to 0.1.130 2024-09-28 11:25:47 -04:00