diff options
| author | bors <bors@rust-lang.org> | 2024-02-27 03:27:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-27 03:27:48 +0000 |
| commit | b4b180c2183d5bdf1991a60c423bd1801b30dd56 (patch) | |
| tree | 555559f5d599758ff0abcdcaf9977304832b42a7 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | a06a87b37dfc4aa9e0043d72b16df8051f92e98c (diff) | |
| parent | 7f34119c1a6ec425f549e12f1490555acda74c65 (diff) | |
| download | rust-b4b180c2183d5bdf1991a60c423bd1801b30dd56.tar.gz rust-b4b180c2183d5bdf1991a60c423bd1801b30dd56.zip | |
Auto merge of #121635 - 823984418:remove_archive_builder_lifetime_a, r=nnethercote
Remove useless lifetime of ArchiveBuilder
`trait ArchiveBuilder<'a>` has a seemingly useless lifetime a, so I remove it. If this is intentional, please reject this PR.
```rust
pub trait ArchiveBuilder<'a> {
fn add_file(&mut self, path: &Path);
fn add_archive(
&mut self,
archive: &Path,
skip: Box<dyn FnMut(&str) -> bool + 'static>,
) -> io::Result<()>;
fn build(self: Box<Self>, output: &Path) -> bool;
}
```
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
