File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
branches/snap-stage3/src/librustc/lint Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 7be8f0af0393dcdb077c2f6b1653836fd3fba235
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: c2ac7fde0b4715ff87467be91d57d5afd49978a2
4
+ refs/heads/snap-stage3: ef7d3e13e258258ec427889d3b047f0b7fda33c7
5
5
refs/heads/try: 502e4c045236682e9728539dc0d2b3d0b237f55c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -358,9 +358,9 @@ impl LintPass for CTypes {
358
358
def:: DefTy ( def_id) => {
359
359
if !adt:: is_ffi_safe ( cx. tcx , def_id) {
360
360
cx. span_lint ( CTYPES , ty. span ,
361
- "found enum type without foreign-function-safe \
362
- representation annotation in foreign module" ) ;
363
- // hmm ... this message could be more helpful
361
+ "found enum type without foreign-function-safe
362
+ representation annotation in foreign module, consider \
363
+ adding a #[repr( ...)] attribute to the enumeration" ) ;
364
364
}
365
365
}
366
366
_ => ( )
You can’t perform that action at this time.
0 commit comments