diff --git a/Cargo.lock b/Cargo.lock index a518e7ef7e..68a6e40e5f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3560,9 +3560,9 @@ checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" [[package]] name = "ron" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beceb6f7bf81c73e73aeef6dd1356d9a1b2b4909e1f0fc3e59b034f9572d7b7f" +checksum = "db09040cc89e461f1a265139777a2bde7f8d8c67c4936f700c63ce3e2904d468" dependencies = [ "base64", "bitflags 2.9.4", diff --git a/Cargo.toml b/Cargo.toml index 1fba257724..3fdd4d4fce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -171,7 +171,7 @@ rayon = "1.3" regex-lite = "0.1" renderdoc-sys = "1" rspirv = "0.12" -ron = "0.10" +ron = "0.11" # NOTE: rustc-hash v2 is a completely different hasher with different performance characteristics # see discussion here (including with some other alternatives): https://github.com/gfx-rs/wgpu/issues/6999 # (using default-features = false to support no-std build, avoiding any extra features that may require std::collections) diff --git a/player/tests/player/main.rs b/player/tests/player/main.rs index e50e4368d0..3f57829183 100644 --- a/player/tests/player/main.rs +++ b/player/tests/player/main.rs @@ -76,8 +76,7 @@ impl Test<'_> { _ => unreachable!(), }; let string = read_to_string(&path).unwrap().replace("Noop", backend_name); - ron::de::from_str(&string) - .unwrap_or_else(|e| panic!("{path:?}:{} {}", e.position.line, e.code)) + ron::de::from_str(&string).unwrap_or_else(|e| panic!("{path:?}:{} {}", e.span, e.code)) } fn run(