]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_builtin_macros/src/env.rs
Auto merge of #105712 - amg98:feat/vita-support, r=wesleywiser
[rust.git] / compiler / rustc_builtin_macros / src / env.rs
index a7283ea601b19e4c20a846beb76663562001da0f..84d06b69a9d976c3d7c260dfe723693139dfe80b 100644 (file)
@@ -30,7 +30,7 @@ pub fn expand_option_env<'cx>(
                 sp,
                 true,
                 cx.std_path(&[sym::option, sym::Option, sym::None]),
-                vec![GenericArg::Type(cx.ty_rptr(
+                vec![GenericArg::Type(cx.ty_ref(
                     sp,
                     cx.ty_ident(sp, Ident::new(sym::str, sp)),
                     Some(lt),