Commit 772d539 1 parent 24ffae3 commit 772d539 Copy full SHA for 772d539
File tree 3 files changed +11
-1
lines changed
test_crates/trait_unsafe_added
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ SemverQuery(
13
13
... on Trait {
14
14
visibility_limit @filter(op: " =", value: [" $public "]) @output
15
15
unsafe @filter(op: " !=", value: [" $true "])
16
- unconditionally_sealed @filter(op: " !=", value: [" $true "])
16
+ public_api_sealed @filter(op: " !=", value: [" $true "])
17
17
18
18
importable_path {
19
19
path @output @tag
Original file line number Diff line number Diff line change @@ -25,3 +25,8 @@ mod private {
25
25
26
26
// Sealed trait, becoming unsafe doesn't matter since it cannot be implemented downstream.
27
27
pub unsafe trait SealedTrait : private:: Sealed { }
28
+
29
+ pub unsafe trait PublicAPISealed {
30
+ #[ doc( hidden) ]
31
+ type Hidden ;
32
+ }
Original file line number Diff line number Diff line change @@ -25,3 +25,8 @@ mod private {
25
25
26
26
// Sealed trait, becoming unsafe doesn't matter since it cannot be implemented downstream.
27
27
pub trait SealedTrait : private:: Sealed { }
28
+
29
+ pub trait PublicAPISealed {
30
+ #[ doc( hidden) ]
31
+ type Hidden ;
32
+ }
You can’t perform that action at this time.
0 commit comments