diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-09-30 19:18:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-30 19:18:50 -0400 |
| commit | 2fe41869c9eea690d3bd94e3de094282ccb7645c (patch) | |
| tree | 87487a5b996befc18e8b1fbe58b2fab2a5804e23 /compiler/rustc_codegen_cranelift/example/std_example.rs | |
| parent | acaa6cee0754b9a8134e6aa1aa2b28c2670eb20e (diff) | |
| parent | 24290efafffb83514da4e37f5f42a962d0e9bb1f (diff) | |
| download | rust-2fe41869c9eea690d3bd94e3de094282ccb7645c.tar.gz rust-2fe41869c9eea690d3bd94e3de094282ccb7645c.zip | |
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"
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
