diff options
| author | bors <bors@rust-lang.org> | 2017-08-10 15:10:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-10 15:10:17 +0000 |
| commit | b6179602bea71607a9ea63197eca423fcce5f7b0 (patch) | |
| tree | 6bfe47d69f9df71b8e5682c7d6d61333194c76a9 /src/libstd/sys | |
| parent | 2400ebfe76225745d1591c8a63c54570174ab22c (diff) | |
| parent | cabc9be9e2057c5197db273ba0c750aad5ff3366 (diff) | |
| download | rust-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
