about summary refs log tree commit diff
path: root/src/test/codegen/function-arguments.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-09 00:20:35 +0200
committerGitHub <noreply@github.com>2019-06-09 00:20:35 +0200
commit21b5c1d51e9fcf26eca5a1ccc8dfaee5240f7522 (patch)
treeb6a64d9a639c695e131be663ff9ca613e1da8fdf /src/test/codegen/function-arguments.rs
parent2410b4de7c425b1160a4368bc944d081d6e48a70 (diff)
parentee189ae028ce4ff620630686432f44b0ea706181 (diff)
downloadrust-21b5c1d51e9fcf26eca5a1ccc8dfaee5240f7522.tar.gz
rust-21b5c1d51e9fcf26eca5a1ccc8dfaee5240f7522.zip
Rollup merge of #61660 - petrochenkov:nocusta, r=Centril
Minimize use of `#![feature(custom_attribute)]`

Some preparations before resurrecting https://github.com/rust-lang/rust/pull/57921.
Diffstat (limited to 'src/test/codegen/function-arguments.rs')
-rw-r--r--src/test/codegen/function-arguments.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/function-arguments.rs b/src/test/codegen/function-arguments.rs
index c2d697fd046..bd121ef24ad 100644
--- a/src/test/codegen/function-arguments.rs
+++ b/src/test/codegen/function-arguments.rs
@@ -2,7 +2,7 @@
 // ignore-tidy-linelength
 
 #![crate_type = "lib"]
-#![feature(custom_attribute)]
+#![feature(rustc_attrs)]
 
 pub struct S {
   _field: [i32; 8],
@@ -146,7 +146,7 @@ pub fn enum_id_2(x: Option<u8>) -> Option<u8> {
 
 // CHECK: noalias i8* @allocator()
 #[no_mangle]
-#[allocator]
+#[rustc_allocator]
 pub fn allocator() -> *const i8 {
   std::ptr::null()
 }