Skip to content

Commit

Permalink
Update compile tests output
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Jul 26, 2024
1 parent 2a1170d commit 223b8eb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 1,7 @@
error[E0599]: no method named `with_format` found for struct `CopyFromQuery<users::table, pg::query_builder::copy::copy_from::InsertableWrapper<Vec<NewUser>>>` in the current scope
--> tests/fail/copy_can_only_use_options_with_raw_variant.rs:49:10
|
47 | diesel::copy_from(users::table)
| -------------------------------
| |
| _____method `with_format` is available on `CopyFromQuery<users::table, pg::query_builder::copy::copy_from::NotSet>`
| |
47 | / diesel::copy_from(users::table)
48 | | .from_insertable(vec![NewUser { name: "John" }])
49 | | .with_format(CopyFormat::Csv)
| | -^^^^^^^^^^^ method not found in `CopyFromQuery<table, InsertableWrapper<Vec<NewUser>>>`
Expand Down
9 changes: 9 additions & 0 deletions diesel_compile_tests/tests/fail/derive/selectable.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 40,12 @@ error[E0425]: cannot find value `non_existing` in module `users`
|
33 | select_expression = (users::id, users::non_existing),
| ^^^^^^^^^^^^ not found in `users`

error[E0308]: mismatched types
--> tests/fail/derive/selectable.rs:38:29
|
38 | select_expression = (users::id 45),
| ^^^^^^^^^^^^^^^^ expected `id`, found `Add<id, Bound<Integer, i32>>`
|
= note: expected struct `columns::id`
found struct `diesel::expression::ops::numeric::Add<columns::id, diesel::expression::bound::Bound<diesel::sql_types::Integer, i32>>`
2 changes: 1 addition & 1 deletion diesel_compile_tests/tests/fail/only_only_on_table.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 74,4 @@ note: the trait `Table` must be implemented
= note: the following trait defines an item `only`, perhaps you need to implement it:
candidate #1: `diesel::dsl::OnlyDsl`

error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:400:21: relating different kinds: diesel::pg::Pg '?2
error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:364:21: relating different kinds: diesel::pg::Pg '?2
Original file line number Diff line number Diff line change
@@ -1 1 @@
error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:400:21: relating different kinds: diesel::pg::Pg '?2
error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:364:21: relating different kinds: diesel::pg::Pg '?2
Original file line number Diff line number Diff line change
@@ -1 1 @@
error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:400:21: relating different kinds: diesel::pg::Pg '?2
error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:364:21: relating different kinds: diesel::pg::Pg '?2

0 comments on commit 223b8eb

Please sign in to comment.