Commit 2560453
authored
Rollup merge of rust-lang#131686 - Urgau:fast-path-vis, r=lqd
Add fast-path when computing the default visibility
This PR adds (or more correctly re-adds the) fast-path when computing the default visibility, by taking advantage of the fact that the "interposable" requested visibility always return the "default" codegen visibility.
Should address the small regression observed in rust-lang#131111 (comment).
r? `@lqd`1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
904 | 905 | | |
905 | 906 | | |
906 | 907 | | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
907 | 913 | | |
908 | 914 | | |
909 | 915 | | |
| |||
913 | 919 | | |
914 | 920 | | |
915 | 921 | | |
| 922 | + | |
916 | 923 | | |
917 | 924 | | |
918 | 925 | | |
| |||
0 commit comments