• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

serde-rs / serde / 1069
69%
master: 38%

Build:
Build:
LAST BUILD BRANCH: 1.0
DEFAULT BRANCH: master
Ran 13 Jun 2016 03:58PM UTC
Jobs 3
Files 8
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1069

push

travis-ci

homu
Auto merge of #378 - dtolnay:str, r=oli-obk

Better error when deriving Deserialize for struct containing &str

Fixes #360. The error looks like this:

```rust
#[derive(Serialize, Deserialize)]
struct Test<'a> {
    s: &'a str,
}
```

```
src/main.rs:6:5: 6:15 error: Serde does not support deserializing fields of type &str; consider using String instead
src/main.rs:6     s: &'a str,
                  ^~~~~~~~~~
```

2817 of 4076 relevant lines covered (69.11%)

2.01 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/ser/impls.rs
22
100.0
src/de/impls.rs
894
100.0
test.rs
Jobs
ID Job ID Ran Files Coverage
1 1069.1 13 Jun 2016 04:01PM UTC 0
69.09
Travis Job 1069.1
4 1069.4 13 Jun 2016 04:00PM UTC 0
70.25
Travis Job 1069.4
5 1069.5 13 Jun 2016 03:58PM UTC 0
70.84
Travis Job 1069.5
Source Files on build 1069
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1069
  • b838651a on github
  • Prev Build on auto (#1055)
  • Next Build on auto (#1104)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc