-
-
Notifications
You must be signed in to change notification settings - Fork 854
Comparing changes
Open a pull request
base repository: serde-rs/serde
base: v1.0.211
head repository: serde-rs/serde
compare: v1.0.213
- 11 commits
- 10 files changed
- 1 contributor
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 29d4f3e - Browse repository at this point
Copy the full SHA 29d4f3eView commit details -
Add regression test for issue 2844
error[E0424]: expected value, found module `self` --> test_suite/tests/regression/issue2844.rs:13:19 | 5 | #[derive(Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters ... 13 | declare_in_macro!("with"); | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter error[E0425]: cannot find value `__s` in this scope --> test_suite/tests/regression/issue2844.rs:13:19 | 13 | declare_in_macro!("with"); | ^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> test_suite/tests/regression/issue2844.rs:13:19 | 13 | declare_in_macro!("with"); | ^^^^^^ not found in this scope
Configuration menu - View commit details
-
Copy full SHA for 0058c72 - Browse repository at this point
Copy the full SHA 0058c72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e36ef5 - Browse repository at this point
Copy the full SHA 1e36ef5View commit details -
Merge pull request #2845 from dtolnay/withlocal
Fix hygiene of macro-generated local variable accesses in serde(with) wrappers
Configuration menu - View commit details
-
Copy full SHA for 1ac054b - Browse repository at this point
Copy the full SHA 1ac054bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ae1b5f - Browse repository at this point
Copy the full SHA 7ae1b5fView commit details -
Ignore trivially_copy_pass_by_ref pedantic clippy lint in test
warning: this argument (4 byte) is passed by reference, but would be more efficient if passed by value (limit: 8 byte) --> test_suite/tests/regression/issue2844.rs:18:28 | 18 | pub fn serialize<S>(_: &i32, _: S) -> Result<S::Ok, S::Error> | ^^^^ help: consider passing by value instead: `i32` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref = note: `-W clippy::trivially-copy-pass-by-ref` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::trivially_copy_pass_by_ref)]`
Configuration menu - View commit details
-
Copy full SHA for 49e11ce - Browse repository at this point
Copy the full SHA 49e11ceView commit details -
Add regression test for issue 2846
error[E0425]: cannot find value `__e` in this scope --> test_suite/tests/regression/issue2846.rs:12:19 | 12 | declare_in_macro!("with"); | ^^^^^^ not found in this scope
Configuration menu - View commit details
-
Copy full SHA for fdc36e5 - Browse repository at this point
Copy the full SHA fdc36e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b60e409 - Browse repository at this point
Copy the full SHA b60e409View commit details -
Ignore dead_code warning in regression test
warning: field `0` is never read --> test_suite/tests/regression/issue2846.rs:8:45 | 8 | pub struct S(#[serde(with = $with)] i32); | - field in this struct ^^^ ... 12 | declare_in_macro!("with"); | ------------------------- in this macro invocation | = help: consider removing this field = note: `#[warn(dead_code)]` on by default = note: this warning originates in the macro `declare_in_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
Configuration menu - View commit details
-
Copy full SHA for 79925ac - Browse repository at this point
Copy the full SHA 79925acView commit details -
Merge pull request #2847 from dtolnay/newtypewith
Hygiene for macro-generated newtype struct deserialization with `with` attr
Configuration menu - View commit details
-
Copy full SHA for ef0ed22 - Browse repository at this point
Copy the full SHA ef0ed22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58a8d22 - Browse repository at this point
Copy the full SHA 58a8d22View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.0.211...v1.0.213