Commit 4152584
authored
Rollup merge of rust-lang#118123 - RalfJung:internal-lib-features, r=compiler-errors
Add support for making lib features internal
We have the notion of an "internal" lang feature: a feature that is never intended to be stabilized, and using which can cause ICEs and other issues without that being considered a bug.
This extends that idea to lib features as well. It is an alternative to rust-lang#115623: instead of using an attribute to declare lib features internal, we simply do this based on the name. Everything ending in `_internals` or `_internal` is considered internal.
Then we rename `core_intrinsics` to `core_intrinsics_internal`, which fixes rust-lang#115597.3 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1906 | 1906 | | |
1907 | 1907 | | |
1908 | 1908 | | |
| 1909 | + | |
1909 | 1910 | | |
1910 | 1911 | | |
1911 | 1912 | | |
| |||
1918 | 1919 | | |
1919 | 1920 | | |
1920 | 1921 | | |
| 1922 | + | |
1921 | 1923 | | |
1922 | 1924 | | |
1923 | 1925 | | |
| |||
1939 | 1941 | | |
1940 | 1942 | | |
1941 | 1943 | | |
| 1944 | + | |
1942 | 1945 | | |
1943 | 1946 | | |
1944 | 1947 | | |
| |||
1965 | 1968 | | |
1966 | 1969 | | |
1967 | 1970 | | |
| 1971 | + | |
1968 | 1972 | | |
1969 | 1973 | | |
1970 | 1974 | | |
| |||
1977 | 1981 | | |
1978 | 1982 | | |
1979 | 1983 | | |
| 1984 | + | |
1980 | 1985 | | |
1981 | 1986 | | |
1982 | 1987 | | |
| |||
1998 | 2003 | | |
1999 | 2004 | | |
2000 | 2005 | | |
| 2006 | + | |
2001 | 2007 | | |
2002 | 2008 | | |
2003 | 2009 | | |
| |||
2463 | 2469 | | |
2464 | 2470 | | |
2465 | 2471 | | |
| 2472 | + | |
2466 | 2473 | | |
2467 | 2474 | | |
2468 | 2475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
0 commit comments