Commit 82e0303
committed
Check privacy of trait items in all contexts
1 parent 2b4c911 commit 82e0303
File tree
9 files changed
+162
-176
lines changed- src
- librustc_privacy
- librustc_typeck
- check/method
- librustc/ty
- test/compile-fail
9 files changed
+162
-176
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2156 | 2156 | | |
2157 | 2157 | | |
2158 | 2158 | | |
| 2159 | + | |
2159 | 2160 | | |
2160 | 2161 | | |
2161 | 2162 | | |
| |||
2170 | 2171 | | |
2171 | 2172 | | |
2172 | 2173 | | |
2173 | | - | |
| 2174 | + | |
| 2175 | + | |
2174 | 2176 | | |
2175 | 2177 | | |
2176 | 2178 | | |
| |||
2180 | 2182 | | |
2181 | 2183 | | |
2182 | 2184 | | |
2183 | | - | |
2184 | 2185 | | |
2185 | 2186 | | |
2186 | 2187 | | |
| |||
2192 | 2193 | | |
2193 | 2194 | | |
2194 | 2195 | | |
2195 | | - | |
2196 | | - | |
2197 | | - | |
2198 | | - | |
2199 | 2196 | | |
2200 | 2197 | | |
2201 | 2198 | | |
2202 | | - | |
| 2199 | + | |
| 2200 | + | |
2203 | 2201 | | |
2204 | 2202 | | |
2205 | 2203 | | |
| |||
2639 | 2637 | | |
2640 | 2638 | | |
2641 | 2639 | | |
2642 | | - | |
| 2640 | + | |
2643 | 2641 | | |
2644 | | - | |
2645 | | - | |
2646 | | - | |
2647 | | - | |
| 2642 | + | |
| 2643 | + | |
2648 | 2644 | | |
2649 | 2645 | | |
2650 | 2646 | | |
2651 | 2647 | | |
2652 | 2648 | | |
2653 | 2649 | | |
2654 | 2650 | | |
2655 | | - | |
2656 | | - | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
2657 | 2654 | | |
2658 | 2655 | | |
2659 | 2656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | 430 | | |
439 | 431 | | |
440 | 432 | | |
| |||
444 | 436 | | |
445 | 437 | | |
446 | 438 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | 439 | | |
462 | 440 | | |
463 | 441 | | |
| |||
483 | 461 | | |
484 | 462 | | |
485 | 463 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | 464 | | |
492 | 465 | | |
493 | 466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
910 | 916 | | |
911 | 917 | | |
912 | 918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | 352 | | |
354 | 353 | | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | 354 | | |
362 | 355 | | |
363 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
372 | 390 | | |
373 | 391 | | |
374 | 392 | | |
| |||
499 | 517 | | |
500 | 518 | | |
501 | 519 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | 520 | | |
508 | 521 | | |
509 | 522 | | |
| |||
519 | 532 | | |
520 | 533 | | |
521 | 534 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
| 535 | + | |
| 536 | + | |
528 | 537 | | |
529 | 538 | | |
530 | 539 | | |
| |||
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
| 560 | + | |
557 | 561 | | |
558 | 562 | | |
559 | 563 | | |
| |||
599 | 603 | | |
600 | 604 | | |
601 | 605 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
| 606 | + | |
| 607 | + | |
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
| 746 | + | |
| 747 | + | |
752 | 748 | | |
753 | 749 | | |
754 | 750 | | |
| |||
833 | 829 | | |
834 | 830 | | |
835 | 831 | | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
| 832 | + | |
842 | 833 | | |
843 | 834 | | |
844 | 835 | | |
| |||
854 | 845 | | |
855 | 846 | | |
856 | 847 | | |
857 | | - | |
| 848 | + | |
858 | 849 | | |
859 | 850 | | |
860 | 851 | | |
| |||
889 | 880 | | |
890 | 881 | | |
891 | 882 | | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
| 883 | + | |
898 | 884 | | |
899 | 885 | | |
900 | 886 | | |
| |||
918 | 904 | | |
919 | 905 | | |
920 | 906 | | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
| 907 | + | |
| 908 | + | |
927 | 909 | | |
928 | 910 | | |
929 | 911 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments