about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-10 15:10:17 +0000
committerbors <bors@rust-lang.org>2017-08-10 15:10:17 +0000
commitb6179602bea71607a9ea63197eca423fcce5f7b0 (patch)
tree6bfe47d69f9df71b8e5682c7d6d61333194c76a9 /src/libstd/sys
parent2400ebfe76225745d1591c8a63c54570174ab22c (diff)
parentcabc9be9e2057c5197db273ba0c750aad5ff3366 (diff)
downloadrust-b6179602bea71607a9ea63197eca423fcce5f7b0.tar.gz
rust-b6179602bea71607a9ea63197eca423fcce5f7b0.zip
Auto merge of #43720 - pornel:staticconst, r=petrochenkov
Hint correct extern constant syntax

Error message for `extern "C" { const …}` is terse, and the right syntax is hard to guess given unfortunate difference between meaning of `static` in C and Rust.

I've added a hint for the right syntax.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions