Update salsa (#18212)

This commit is contained in:
Micha Reiser 2025-05-20 09:19:34 +02:00 committed by GitHub
parent f9ca6eb63e
commit 3b56c7ca3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 82 additions and 10 deletions

View file

@ -275,7 +275,12 @@ impl fmt::Debug for Files {
impl std::panic::RefUnwindSafe for Files {}
/// A file that's either stored on the host system's file system or in the vendored file system.
///
/// # Ordering
/// Ordering is based on the file's salsa-assigned id and not on its values.
/// The id may change between runs.
#[salsa::input]
#[derive(PartialOrd, Ord)]
pub struct File {
/// The path of the file (immutable).
#[returns(ref)]