Skip to content

Commit 632a400

Browse files
committedAug 15, 2021
Fix ui tests for llvm_asm! deprecation
1 parent 6fd4f34 commit 632a400

File tree

76 files changed

+177
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+177
-132
lines changed
 

‎src/test/ui/abi/abi-sysv64-register-usage.rs

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// ignore-aarch64
88

99
#![feature(llvm_asm)]
10+
#![allow(deprecated)] // llvm_asm!
1011

1112
#[cfg(target_arch = "x86_64")]
1213
pub extern "sysv64" fn all_the_registers(rdi: i64, rsi: i64, rdx: i64,

‎src/test/ui/asm/naked-functions.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![feature(naked_functions)]
55
#![feature(or_patterns)]
66
#![crate_type = "lib"]
7+
#![allow(deprecated)] // llvm_asm!
78

89
#[repr(C)]
910
pub struct P { x: u8, y: u16 }

0 commit comments

Comments
 (0)