error: `msrv` cannot be an outer attribute
  --> $DIR/min_rust_version_outer_attr.rs:3:1
   |
LL | #[clippy::msrv = "invalid.version"]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error