Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate trybuild to 1.0.93 - autoclosed #173

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ try_match = "0.4.1"
str_inflector = "0.12.0"

[dev-dependencies]
trybuild = "1.0.84"
trybuild = "1.0.93"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
insta = "1.31.0"
rust-format = "0.3.4"

Unchanged files with check annotations Beta

fn to_expr_tuple(&self, populate: impl Fn(usize, &TypeParam) -> Expr) -> ExprTuple;
fn without(self, idx: usize) -> Self;
fn combine(generics: Vec<&Generics>) -> Generics;
fn add_bound(self, ident: &Ident, ty: &Type) -> Self;

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Check

method `add_bound` is never used

Check failure on line 67 in src/buildstructor/utils.rs

GitHub Actions / Clippy

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Check

method `add_bound` is never used

Check failure on line 67 in src/buildstructor/utils.rs

GitHub Actions / Clippy

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used

Check warning on line 67 in src/buildstructor/utils.rs

GitHub Actions / Test Suite

method `add_bound` is never used
}
impl GenericsExt for Generics {
// If the first parameter of a function is a reference it will have an implicit lifetime.
fn implicit_lifetime(model: &BuilderModel) -> bool {
match model.delegate_args.get(0) {

Check failure on line 96 in src/buildstructor/lower.rs

GitHub Actions / Clippy

accessing first element with `model.delegate_args.get(0)`

Check failure on line 96 in src/buildstructor/lower.rs

GitHub Actions / Clippy

accessing first element with `model.delegate_args.get(0)`
None => {}
Some(arg) => match arg {
FnArg::Receiver(Receiver {
}
fn main() {
let _ = Foo::builder().simple("3").simple("3").build();

Check failure on line 15 in tests/buildstructor/fail/duplicate.rs

GitHub Actions / Test Suite

no method named `simple` found for struct `__FooBuilder<(__Set<String>,)>` in the current scope

Check failure on line 15 in tests/buildstructor/fail/duplicate.rs

GitHub Actions / Test Suite

no method named `simple` found for struct `__FooBuilder<(__Set<String>,)>` in the current scope

Check failure on line 15 in tests/buildstructor/fail/duplicate.rs

GitHub Actions / Test Suite

no method named `simple` found for struct `__FooBuilder<(__Set<String>,)>` in the current scope

Check failure on line 15 in tests/buildstructor/fail/duplicate.rs

GitHub Actions / Test Suite

no method named `simple` found for struct `__FooBuilder<(__Set<String>,)>` in the current scope
}