File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
branches/try/src/librustc_typeck Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 97e161573514f6f016a6e7e6db85e30d75258eb3
4
+ refs/heads/try: 11f0f4722027272319a556528a9000ca67e9b35a
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -381,19 +381,19 @@ fn main() {
381
381
"## ,
382
382
383
383
E0045 : r##"
384
- Variadic parameters are only allowed in extern "C" code. Example of
385
- erroneous codes :
384
+ Variadic parameters are only allowed in extern "C" code. Examples of
385
+ erroneous code :
386
386
387
387
```
388
388
extern "rust-call" { fn foo(x: u8, ...); }
389
389
// or
390
390
fn foo(x: u8, ...) {}
391
391
```
392
392
393
- To fix these codes , put them in extern "C" block:
393
+ To fix such code , put them in extern "C" block:
394
394
395
395
```
396
- extern "C" { fn foo(x: u8, ...); }
396
+ extern "C" fn foo (x: u8, ...);
397
397
```
398
398
"## ,
399
399
@@ -1551,7 +1551,6 @@ register_diagnostics! {
1551
1551
E0219 , // associated type defined in higher-ranked supertrait
1552
1552
E0220 , // associated type not found for type parameter
1553
1553
E0221 , // ambiguous associated type in bounds
1554
- E0222 , // variadic function must have C calling convention
1555
1554
E0223 , // ambiguous associated type
1556
1555
E0224 , // at least one non-builtin train is required for an object type
1557
1556
E0225 , // only the builtin traits can be used as closure or object bounds
You can’t perform that action at this time.
0 commit comments