+++ /dev/null
-// check-pass
-
-#![feature(no_sanitize)]
-
-#[inline(always)]
-//~^ NOTE inlining requested here
-#[no_sanitize(address)]
-//~^ WARN will have no effect after inlining
-//~| NOTE on by default
-fn x() {
-}
-
-fn main() {
- x()
-}
+++ /dev/null
-warning: `no_sanitize` will have no effect after inlining
- --> $DIR/sanitize-inline-always.rs:7:1
- |
-LL | #[no_sanitize(address)]
- | ^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(inline_no_sanitize)]` on by default
-note: inlining requested here
- --> $DIR/sanitize-inline-always.rs:5:1
- |
-LL | #[inline(always)]
- | ^^^^^^^^^^^^^^^^^
-
--- /dev/null
+// check-pass
+
+#![feature(no_sanitize)]
+
+#[inline(always)]
+//~^ NOTE inlining requested here
+#[no_sanitize(address)]
+//~^ WARN will have no effect after inlining
+//~| NOTE on by default
+fn x() {
+}
+
+fn main() {
+ x()
+}
--- /dev/null
+warning: `no_sanitize` will have no effect after inlining
+ --> $DIR/inline-always.rs:7:1
+ |
+LL | #[no_sanitize(address)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: `#[warn(inline_no_sanitize)]` on by default
+note: inlining requested here
+ --> $DIR/inline-always.rs:5:1
+ |
+LL | #[inline(always)]
+ | ^^^^^^^^^^^^^^^^^
+