From 846a669610452483eb2be268196b91afcc132952 Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Sun, 22 May 2022 21:04:00 +0200 Subject: [PATCH] Remove out-dated test This test used an unstable library feature to emit an error. However, `asm!` has been stabilized, so the test in question no longer produces an error. I think we should just remove the test. --- test-project/tests/compile-fail/asm-gated.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 test-project/tests/compile-fail/asm-gated.rs diff --git a/test-project/tests/compile-fail/asm-gated.rs b/test-project/tests/compile-fail/asm-gated.rs deleted file mode 100644 index 22055ee..0000000 --- a/test-project/tests/compile-fail/asm-gated.rs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -fn main() { - unsafe { - asm!(""); //~ ERROR use of unstable library feature - } -}