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

serde-rs / serde / 1070
38%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2016 04:26PM 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
1070

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

Jobs
ID Job ID Ran Files Coverage
1 1070.1 13 Jun 2016 04:28PM UTC 0
69.09
Travis Job 1070.1
4 1070.4 13 Jun 2016 04:26PM UTC 0
70.25
Travis Job 1070.4
5 1070.5 13 Jun 2016 04:26PM UTC 0
70.84
Travis Job 1070.5
Source Files on build 1070
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1070
  • b838651a on github
  • Prev Build on master (#1068)
  • Next Build on master (#1072)
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

© 2026 Coveralls, Inc