diff options
| author | Alexey Shmalko <rasen.dubi@gmail.com> | 2019-04-29 20:01:46 +0300 |
|---|---|---|
| committer | Alexey Shmalko <rasen.dubi@gmail.com> | 2019-05-02 16:38:23 +0300 |
| commit | 8b82f685a57d6a1a3567c2ca6e77efedbedefac2 (patch) | |
| tree | 212ed497e30a03c39aa2962a9219644e917dc606 /src/test/incremental/thinlto | |
| parent | 758dc9af504e2fe75813bd362619231ecc727898 (diff) | |
| download | rust-8b82f685a57d6a1a3567c2ca6e77efedbedefac2.tar.gz rust-8b82f685a57d6a1a3567c2ca6e77efedbedefac2.zip | |
Make find_attr_val a little bit more precise
`find_attr_val(&line, "since")` returns `Some(", issue = ")` when
`line` is set to the following line:
```
[unstable(feature = "checked_duration_since", issue = "58402")]
```
Make `find_attr_val` use regex that is a little bit more
precise (requires `=` after key name).
It still does not handle all cases (e.g., extra leading chars in key
name, or escaped quotes in value), but is good enough for now.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
