diff options
| author | bors <bors@rust-lang.org> | 2023-06-28 15:23:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-28 15:23:32 +0000 |
| commit | ae89ca3fbb6c9e499b406e2f318920018365e415 (patch) | |
| tree | 0cbd6bfdd01c7bceeb4134e06c7bb0c852e379f8 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | ac4e046c69e1584b043a86f81c75783592265605 (diff) | |
| parent | d51536c242e7624d9678c78e865a229b4e3678d1 (diff) | |
| download | rust-ae89ca3fbb6c9e499b406e2f318920018365e415.tar.gz rust-ae89ca3fbb6c9e499b406e2f318920018365e415.zip | |
Auto merge of #15161 - lowr:patch/fixture-metadata-library, r=Veykril
internal: add `library` fixture meta Currently, there is no way to specify `CrateOrigin` of a file fixture ([this] might be a bug?). This PR adds `library` meta to explicitly specify the fixture to be `CrateOrigin::Library` and also makes sure crates that belong to a library source root are set `CrateOrigin::Library`. (`library` isn't really the best name. It essentially means that the crate is outside workspace but `non_workspace_member` feels a bit too long. Suggestions for the better name would be appreciated) Additionally: - documents the fixture meta syntax as thoroughly as possible - refactors relevant code [this]: https://github.com/rust-lang/rust-analyzer/blob/4b06d3c595a75fd84bfce2b7f2861a913ed6e530/crates/base-db/src/fixture.rs#L450
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
