Skip to content

Commit b023e51

Browse files
committed
Changelog
1 parent 89e72ba commit b023e51

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

CHANGELOG.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,6 @@ help: trait `ExprTrait` which provides `like` is implemented but not in scope; p
3232
|
3333
-> + use sea_query::ExprTrait;
3434
```
35-
* `ExprTrait::eq` collided with `std::cmp::Eq`. If you encounter the following error, please use `std::cmp::PartialEq::eq(a, b)` or
36-
`sea_query::ExprTrait::eq(a, b)` explicitly https://github.com/SeaQL/sea-query/pull/890
37-
```rust
38-
error[E0308]: mismatched types
39-
|
40-
| fn eq(&self, other: &Self) -> bool {
41-
| ---- expected `bool` because of return type
42-
| format!("{:?}", self.0).eq(&format!("{:?}", other.0))
43-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Expr`
44-
45-
For more information about this error, try `rustc --explain E0308`.
46-
error: could not compile `seaography` (lib) due to 1 previous error
47-
```
4835
* Added `non_exhaustive` to AST enums. It allows us to add new features and extend the AST without breaking the API. If you encounter the following error,
4936
please add a wildcard match `_ => {..}` https://github.com/SeaQL/sea-query/pull/891
5037
```rust
@@ -64,6 +51,19 @@ help: ensure that all possible cases are being handled by adding a match arm wit
6451
| TableRef::FunctionCall(_, tbl) => SeaRc::clone(tbl),
6552
-> | &_ => todo!(),
6653
```
54+
* `ExprTrait::eq` collided with `std::cmp::Eq`. If you encounter the following error, please use `std::cmp::PartialEq::eq(a, b)` or
55+
`sea_query::ExprTrait::eq(a, b)` explicitly https://github.com/SeaQL/sea-query/pull/890
56+
```rust
57+
error[E0308]: mismatched types
58+
|
59+
| fn eq(&self, other: &Self) -> bool {
60+
| ---- expected `bool` because of return type
61+
| format!("{:?}", self.0).eq(&format!("{:?}", other.0))
62+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Expr`
63+
64+
For more information about this error, try `rustc --explain E0308`.
65+
error: could not compile `seaography` (lib) due to 1 previous error
66+
```
6767

6868
### Upgrades
6969

0 commit comments

Comments
 (0)