Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformat comments of non-public serde_derive internals
Fixes these being treated as "tests" by `cargo test` in serde_derive: running 3 tests test src/internals/check.rs - internals::check::check_remote_generic (line 23) ... FAILED test src/internals/check.rs - internals::check::check_remote_generic (line 29) ... FAILED test src/lib.rs - (line 3) ... ok failures: ---- src/internals/check.rs - internals::check::check_remote_generic (line 23) stdout ---- error: unknown start of token: \u{2026} --> src/internals/check.rs:25:20 | 4 | struct Generic<T> {…} | ^ error: cannot find attribute `serde` in this scope --> src/internals/check.rs:24:3 | 3 | #[serde(remote = "Generic")] | ^^^^^ | = note: `serde` is in scope, but it is a crate, not an attribute error[E0392]: parameter `T` is never used --> src/internals/check.rs:25:16 | 4 | struct Generic<T> {…} | ^ unused parameter | = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` = help: if you intended `T` to be a const parameter, use `const T: usize` instead ---- src/internals/check.rs - internals::check::check_remote_generic (line 29) stdout ---- error: unknown start of token: \u{2026} --> src/internals/check.rs:31:21 | 4 | struct ConcreteDef {…} | ^ error: cannot find attribute `serde` in this scope --> src/internals/check.rs:30:3 | 3 | #[serde(remote = "Generic<T>")] | ^^^^^ | = note: `serde` is in scope, but it is a crate, not an attribute
- Loading branch information