add uitests for cargo rust-version field

This commit is contained in:
Marcel Hellwig 2022-05-10 14:46:05 +02:00
parent 6384765665
commit f0a1cd5645
33 changed files with 278 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[package]
name = "warn-both-diff"
version = "0.1.0"
rust-version = "1.56.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View file

@ -0,0 +1 @@
msrv = "1.13"

View file

@ -0,0 +1,11 @@
#![deny(clippy::use_self)]
pub struct Foo;
impl Foo {
pub fn bar() -> Foo {
Foo
}
}
fn main() {}

View file

@ -0,0 +1,4 @@
warning: the MSRV in `clippy.toml` and `Cargo.toml` differ; using `1.13.0` from `clippy.toml`
warning: 1 warning emitted