Johan Verwey
|
9aeb5fa277
|
Missed template specifier for clear method
|
2021-10-29 08:26:34 -07:00 |
|
Johan Verwey
|
8be52606f5
|
Expose Rust's Vec<T>::clear() method.
|
2021-10-29 07:36:57 -07:00 |
|
David Tolnay
|
4c4987390a
|
Release 1.0.56
|
2021-10-05 16:48:49 -04:00 |
|
David Tolnay
|
e6cd18ee16
|
Declare minimum Rust version in Cargo metadata
|
2021-10-02 02:35:02 -04:00 |
|
David Tolnay
|
ac98b543b8
|
Release 1.0.55
|
2021-09-24 11:47:58 -07:00 |
|
David Tolnay
|
1dd71ca1db
|
Fix race condition between simultaneous build scripts creating symlinks
|
2021-09-24 11:39:15 -07:00 |
|
David Tolnay
|
84333be213
|
Ignore if_same_then_else clippy lint
error: this `if` has identical blocks
--> gen/build/src/gen/write.rs:704:33
|
704 | if arg.ty == RustString {
| _________________________________^
705 | | write!(out, "const ");
706 | | } else if let Type::RustVec(_) = arg.ty {
| |_________^
|
= note: `-D clippy::if-same-then-else` implied by `-D clippy::all`
note: same as this
--> gen/build/src/gen/write.rs:706:49
|
706 | } else if let Type::RustVec(_) = arg.ty {
| _________________________________________________^
707 | | write!(out, "const ");
708 | | }
| |_________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else
error: this `if` has identical blocks
--> macro/src/expand.rs:430:33
|
430 | if arg.ty == RustString {
| _________________________________^
431 | | quote!(#var #colon *const #ty)
432 | | } else if let Type::RustVec(_) = arg.ty {
| |_________^
|
= note: `-D clippy::if-same-then-else` implied by `-D clippy::all`
note: same as this
--> macro/src/expand.rs:432:49
|
432 | } else if let Type::RustVec(_) = arg.ty {
| _________________________________________________^
433 | | quote!(#var #colon *const #ty)
434 | | } else if let Type::Fn(_) = arg.ty {
| |_________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else
|
2021-09-12 05:18:13 -07:00 |
|
David Tolnay
|
fccef86d19
|
Release 1.0.54
|
2021-08-27 13:39:49 -07:00 |
|
David Tolnay
|
a7bde2b7d2
|
Consistently use new_cap in signatures of reserve_total
|
2021-08-27 12:01:24 -07:00 |
|
David Tolnay
|
a23d0ec21b
|
Release 1.0.53
|
2021-08-26 14:35:10 -07:00 |
|
David Tolnay
|
8dfba30813
|
Release 1.0.52
|
2021-08-12 14:24:09 -07:00 |
|
David Tolnay
|
9230abf9f3
|
Release 1.0.51
|
2021-08-03 10:47:13 -07:00 |
|
David Tolnay
|
c59a4022cd
|
Avoid inheriting formatter flags in some Display impls
The previous implementation would produce wrong unintentional output
when formatting with alignment or padding, such as {:<15}.
|
2021-07-29 13:34:55 -07:00 |
|
David Tolnay
|
7b76ea0881
|
Release 1.0.50
|
2021-07-23 17:33:40 -07:00 |
|
David Tolnay
|
0d7d9e02c1
|
Release 1.0.49
|
2021-05-01 14:52:34 -07:00 |
|
David Tolnay
|
a134ecab9f
|
Release 1.0.48
|
2021-04-28 17:48:57 -07:00 |
|
David Tolnay
|
1d0556e068
|
Release 1.0.47
|
2021-04-26 14:23:07 -07:00 |
|
David Tolnay
|
4584958676
|
Support enum repr types from std::os::raw
|
2021-04-22 20:04:03 -07:00 |
|
David Tolnay
|
a62b6e6677
|
Skip enum static assertions if loading from header
|
2021-04-22 20:04:01 -07:00 |
|
David Tolnay
|
e17bb0257b
|
Pull in syn 1.0.70 for inner attribute support
|
2021-04-21 17:24:54 -07:00 |
|
David Tolnay
|
2c76dd6962
|
Release 1.0.46
|
2021-04-20 09:55:01 -07:00 |
|
David Tolnay
|
43fe4b55e0
|
Release 1.0.45
|
2021-04-16 15:59:32 -07:00 |
|
David Tolnay
|
9521519a43
|
Add CxxVector::pop in Rust
|
2021-04-16 15:50:55 -07:00 |
|
David Tolnay
|
fc26d6d64c
|
Add CxxVector::push in Rust
|
2021-04-16 15:24:05 -07:00 |
|
David Tolnay
|
c5f472ef62
|
Factor out helper for identifying maybe trivial types
|
2021-04-16 15:16:19 -07:00 |
|
David Tolnay
|
64918b1187
|
Release 1.0.44
|
2021-04-13 20:59:52 -07:00 |
|
David Tolnay
|
65b8338411
|
Add padding around member functions that have documentation
|
2021-04-13 20:23:19 -07:00 |
|
David Tolnay
|
2d7c38dc6b
|
Document member functions just once in impl file
|
2021-04-13 20:17:37 -07:00 |
|
David Tolnay
|
848ffb7a0b
|
Fix placement of C++ comments on member function decls
|
2021-04-13 20:04:02 -07:00 |
|
David Tolnay
|
064cf12b78
|
Release 1.0.43
|
2021-04-11 10:35:17 -07:00 |
|
David Tolnay
|
c46b0fa065
|
Make errors rustc already catches specific to C++ generator
|
2021-04-08 18:45:16 -07:00 |
|
David Tolnay
|
348b6f20df
|
Release 1.0.42
|
2021-04-02 01:30:36 -04:00 |
|
David Tolnay
|
01462b9291
|
Update to proc-macro2 with lex error spans
|
2021-04-01 00:08:27 -04:00 |
|
David Tolnay
|
c1d9d87b99
|
Release 1.0.41
|
2021-03-30 18:17:11 -04:00 |
|
David Tolnay
|
fdbb2f8429
|
Release 1.0.40
|
2021-03-28 04:19:29 -04:00 |
|
David Tolnay
|
96e5d5e5be
|
Include <stdexcept> for std::out_of_range type
|
2021-03-28 03:16:11 -04:00 |
|
David Tolnay
|
63ad1c4096
|
Release 1.0.39
|
2021-03-27 02:15:40 -04:00 |
|
David Tolnay
|
fedc63bfb7
|
Simplify type resolution of named impl keys
|
2021-03-27 01:23:04 -04:00 |
|
David Tolnay
|
dde630235b
|
Track the angle brackets attached to generic implicit impls
|
2021-03-27 01:23:04 -04:00 |
|
David Tolnay
|
6d3ea1fee6
|
Release 1.0.38
|
2021-03-27 01:15:40 -04:00 |
|
David Tolnay
|
ff3205444f
|
Suppress wrong_self_convention clippy false positive
https://github.com/rust-lang/rust-clippy/issues/6983
warning: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
--> macro/src/syntax/discriminant.rs:194:18
|
194 | fn to_tokens(&self, tokens: &mut TokenStream) {
| ^^^^^
|
= note: `#[warn(clippy::wrong_self_convention)]` on by default
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
|
2021-03-26 23:56:01 -04:00 |
|
David Tolnay
|
201cb747af
|
Make reference type into pointer inside of MaybeUninit
|
2021-03-26 19:29:54 -04:00 |
|
David Tolnay
|
5d6429d212
|
Factor out ptr/reference target type write
|
2021-03-26 19:20:11 -04:00 |
|
David Tolnay
|
04955f4f0c
|
Release 1.0.37
|
2021-03-26 18:20:43 -04:00 |
|
David Tolnay
|
a9449375d0
|
Fix warning on unused unsafe_bitcopy variable
|
2021-03-26 16:42:46 -04:00 |
|
David Tolnay
|
ceb1ca9213
|
Release 1.0.36
|
2021-03-26 13:41:14 -04:00 |
|
David Tolnay
|
06d3220ed6
|
Reduce several standard library includes if cxx.h is included
|
2021-03-26 00:24:22 -04:00 |
|
David Tolnay
|
5e14b10b0c
|
Move cxx header search to method of Includes
|
2021-03-26 00:17:10 -04:00 |
|
David Tolnay
|
ccd269d95c
|
Omit most builtins if bridge explicitly includes "rust/cxx.h"
|
2021-03-25 23:58:41 -04:00 |
|
David Tolnay
|
b2a799a8d9
|
Release 1.0.35
|
2021-03-25 02:19:23 -04:00 |
|