about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-29 21:55:50 +0000
committerbors <bors@rust-lang.org>2018-04-29 21:55:50 +0000
commit774a6a3c4b8d2743550c4b87e62fadfe3ed0323c (patch)
tree9b28fe89360c3106e7a02d29f2583751e5ed5983 /src/test/incremental/thinlto
parent79252ff4e25d82f9fe856cb66f127b79cdace163 (diff)
parent35fe2998c0c555c978617913771691e384670486 (diff)
downloadrust-774a6a3c4b8d2743550c4b87e62fadfe3ed0323c.tar.gz
rust-774a6a3c4b8d2743550c4b87e62fadfe3ed0323c.zip
Auto merge of #50317 - varkor:repr-align-assign, r=nagisa
Improve error message for #[repr(align=x)]

Before:
```
error[E0552]: unrecognized representation hint
 --> src/main.rs:1:8
  |
1 | #[repr(align="8")]
  |        ^^^^^^^^^
```
After:
```
error[E0693]: incorrect `repr(align)` attribute format
 --> src/main.rs:1:8
  |
2 | #[repr(align="8")]
  |        ^^^^^^^^^ help: use parentheses instead: `align(8)`
```

Fixes #50314.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions