about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2019-04-29 20:01:46 +0300
committerAlexey Shmalko <rasen.dubi@gmail.com>2019-05-02 16:38:23 +0300
commit8b82f685a57d6a1a3567c2ca6e77efedbedefac2 (patch)
tree212ed497e30a03c39aa2962a9219644e917dc606 /src/test/incremental/thinlto
parent758dc9af504e2fe75813bd362619231ecc727898 (diff)
downloadrust-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