about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-06-03 15:34:54 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-06-05 07:43:15 +1000
commitab9bbf48db3ef8cd83bbcc4dfd40f0308a738cc1 (patch)
tree673421cb7edbb6948b0570a9b354753e300d17d2 /src/test/ui/thinlto
parent425736dc976f786ea1da6eb4e18064477f88c5bc (diff)
downloadrust-ab9bbf48db3ef8cd83bbcc4dfd40f0308a738cc1.tar.gz
rust-ab9bbf48db3ef8cd83bbcc4dfd40f0308a738cc1.zip
Avoid unnecessary `rust_2018` calls.
The commit combines two calls into one by saving the result in a local
variable. The commit also moves the check for `async` later, so that
when a different keyword is present the `rust_2018` call will be avoided
completely.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions