8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e13f2fb + 6533d01 commit fd038b5Copy full SHA for fd038b5
compiler/rustc_middle/src/ty/context.rs
@@ -2036,13 +2036,13 @@ direct_interners! {
2036
2037
macro_rules! slice_interners {
2038
($($field:ident: $method:ident($ty:ty)),+ $(,)?) => (
2039
- $(impl<'tcx> TyCtxt<'tcx> {
2040
- pub fn $method(self, v: &[$ty]) -> &'tcx List<$ty> {
+ impl<'tcx> TyCtxt<'tcx> {
+ $(pub fn $method(self, v: &[$ty]) -> &'tcx List<$ty> {
2041
self.interners.$field.intern_ref(v, || {
2042
Interned(List::from_arena(&*self.arena, v))
2043
}).0
2044
- }
2045
- })+
+ })+
+ }
2046
);
2047
}
2048
0 commit comments