diff options
| author | Michael Goulet <michael@errs.io> | 2023-08-21 20:43:04 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-08-21 23:53:09 +0000 |
| commit | 7012fff9abf6d63625cae368064097966f204bcd (patch) | |
| tree | 7435fad05942ecd3191b32f920f111c4a545534a | |
| parent | 4ddc6a780eb0be042eb12f7c50b23d306d786de7 (diff) | |
| download | rust-7012fff9abf6d63625cae368064097966f204bcd.tar.gz rust-7012fff9abf6d63625cae368064097966f204bcd.zip | |
Fix elided lifetimes in rust-lang/rust
| -rw-r--r-- | crates/test-utils/src/fixture.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/test-utils/src/fixture.rs b/crates/test-utils/src/fixture.rs index 75e7a3fec00..3f8b5a08969 100644 --- a/crates/test-utils/src/fixture.rs +++ b/crates/test-utils/src/fixture.rs @@ -313,7 +313,7 @@ impl FixtureWithProjectMeta { } impl MiniCore { - const RAW_SOURCE: &str = include_str!("./minicore.rs"); + const RAW_SOURCE: &'static str = include_str!("./minicore.rs"); fn has_flag(&self, flag: &str) -> bool { self.activated_flags.iter().any(|it| it == flag) |
