about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2016-12-23 12:23:50 +0530
committerChris Morgan <me@chrismorgan.info>2016-12-23 12:23:50 +0530
commitc9a6e874cacc7067bf2466f8bc7d154daccd95b1 (patch)
treefad3177787a19933f150281664ebd8cf56afa697 /src/test/run-pass/thinlto
parentc217ab6c8dc1a305304b00a414be5f39ea6a2c81 (diff)
downloadrust-c9a6e874cacc7067bf2466f8bc7d154daccd95b1.tar.gz
rust-c9a6e874cacc7067bf2466f8bc7d154daccd95b1.zip
Fix rustdoc highlighting of `&` and `*`.
Whitespace tokens were included, so the span check used with `&` was
incorrect, and it was never highlighted as kw-2.

The `*` in `*foo` and `*const T` should also be highlighted kw-2, so I
added them. Note that this *will* cause mishighlighting of code like
`1*2`, but that should have been written `1 * 2`. Same deal with `1&2`.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions