diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-05 11:07:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 11:07:25 +0100 |
| commit | 13e84f2a3d5af38e835f1d1cb3b2ee76fd6e7427 (patch) | |
| tree | df212500655ed290bbaf88b287ce10dcc9a1ff44 /tests/debuginfo/enum-thinlto.rs | |
| parent | 8c0b4f67c9b4bf477df38c16669fd576d46a2b3d (diff) | |
| parent | 1da87ee4b31fd1238fe73a42179e5460120d5e2e (diff) | |
| download | rust-13e84f2a3d5af38e835f1d1cb3b2ee76fd6e7427.tar.gz rust-13e84f2a3d5af38e835f1d1cb3b2ee76fd6e7427.zip | |
Rollup merge of #113833 - WiktorPrzetacznik:master, r=dtolnay
`std::error::Error` -> Trait Implementations: lifetimes consistency improvement This cleans up `std::error::Error` trait implementations lifetime inconsistency (`'static` -> `'a`) **Reasoning:** Trait implementations for `std::error::Error`, like: `impl From<&str> for Box<dyn Error + 'static, Global>` `impl<'a> From<&str> for Box<dyn Error + Sync + Send + 'a, Global>` use different lifetime annotations misleadingly implying using different life annotations here is a conscious, nonaccidental decision. [(Related forum discussion here)](https://users.rust-lang.org/t/confusing-std-error-source-code/97011/5?u=wiktor)
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
