]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/comment4.rs
Honor `#[rustfmt::skip::attributes(derive)]` attribute
[rust.git] / tests / target / comment4.rs
index 2916f083ca0fcb5f3f0150e8dae195fd0a5f1b29..e2ef7de978f93d6bea0624450be23caffdd4acc5 100644 (file)
@@ -5,9 +5,8 @@ fn test() {
     // comment
     // comment2
 
-    // FIXME(1275)
     code(); /* leave this comment alone!
-     * ok? */
+             * ok? */
 
     /* Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a
      * diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam
@@ -28,7 +27,7 @@ fn test() {
     //                           .unwrap());
 
     funk(); //dontchangeme
-    // or me
+            // or me
 }
 
 /// test123
@@ -48,5 +47,5 @@ fn debug_function() {
 
 #[link_section=".vectors"]
 #[no_mangle] // Test this attribute is preserved.
-#[cfg_attr(rustfmt, rustfmt_skip)]
+#[cfg_attr(rustfmt, rustfmt::skip)]
 pub static ISSUE_1284: [i32; 16] = [];