Skip to content

Commit 4de4655

Browse files
committed
Merge with upstream
2 parents 3d5e2dc + 5b71e5a commit 4de4655

8 files changed

Lines changed: 16 additions & 12 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bon-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bon-macros"
3-
version = "3.6.0"
3+
version = "3.6.1"
44

55
description = """
66
This is a proc-macro crate that is supposed to be a private implementation

bon-sandbox/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bon-sandbox"
3-
version = "3.6.0"
3+
version = "3.6.1"
44

55
description = """
66
Not a real crate! It's just a showcase of examples used by `bon`'s documentation
@@ -36,4 +36,4 @@ typed-builder = "0.20"
3636
[dependencies.bon]
3737
features = ["experimental-overwritable"]
3838
path = "../bon"
39-
version = "=3.6.0"
39+
version = "=3.6.1"

bon/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bon"
3-
version = "3.6.0"
3+
version = "3.6.1"
44

55
description = "Next-gen compile-time-checked builder generator, named function's arguments, and more!"
66

@@ -45,7 +45,7 @@ workspace = true
4545
# The version of the macro crate is pinned to a specific one because the code
4646
# generated by the macros uses private APIs from the runtime crate that are not
4747
# guarded by semver.
48-
bon-macros = { path = "../bon-macros", version = "=3.6.0" }
48+
bon-macros = { path = "../bon-macros", version = "=3.6.1" }
4949
rustversion = "1"
5050

5151
[dev-dependencies]

bon/tests/integration/builder/target_feature.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ mod msrv_1_86 {
3636
#[target_feature(enable = "avx2")]
3737
#[allow(unsafe_code, reason = "we don't do anything with it")]
3838
unsafe fn briiick() {
39-
let x: &str = 1
4039
Senti::builder().brick(Brick([0; 32])).yatta_but_wide();
4140
}
4241
}

bon/tests/integration/ui/compile_fail/attr_builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ fn destructuring2((_, _): (u32, u32)) {}
7272
#[track_caller]
7373
#[track_caller]
7474
fn double_track_caller() {}
75-
7675
#[builder]
7776
#[target_feature(enable = "sse2")]
7877
#[target_feature(enable = "avx")]

bon/tests/integration/ui/compile_fail/attr_builder.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ error: found multiple #[track_caller], but bon only works with exactly one or ze
9191
| ^
9292

9393
error: found multiple #[target_feature], but bon only works with exactly one or zero.
94-
--> tests/integration/ui/compile_fail/attr_builder.rs:78:1
94+
--> tests/integration/ui/compile_fail/attr_builder.rs:77:1
9595
|
96-
78 | #[target_feature(enable = "avx")]
96+
77 | #[target_feature(enable = "avx")]
9797
| ^

website/src/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.6.1](https://github.com/elastio/bon/compare/v3.6.0...v3.6.1) - 2025-04-15
11+
12+
### Fixed
13+
14+
- Propagate `#[track_caller]` to the generated finishing function from the underlying function/method ([#282](https://github.com/elastio/bon/pull/282)). Thanks [@Lilyyy411](https://github.com/lilyyy411) for the contribution!
15+
1016
## [3.6.0](https://github.com/elastio/bon/compare/v3.5.2...v3.6.0) - 2025-04-13
1117

1218
### Added

0 commit comments

Comments
 (0)