Skip to content

Rollup of 8 pull requests #139220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Apr 2, 2025
Merged
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
26cfa6f
Note potential but private items in show_candidates
xizheyin Mar 21, 2025
af7359e
Add release notes for 1.86.0
cuviper Mar 26, 2025
8a3ee97
Apply suggestions from code review
cuviper Mar 30, 2025
dea9472
Add tests for LLVM 20 slice bounds check optimization
reez12g Mar 30, 2025
b14a0ce
PassWrapper: adapt for llvm/llvm-project@94122d58fc77079a291a3d008914…
durin42 Mar 31, 2025
7feac15
rustdoc-json: Add test for #[automatically_derived] attribute
aDotInTheVoid Apr 16, 2023
e2d5033
Feed HIR for by-move coroutine body def, since the inliner tries to r…
compiler-errors Mar 31, 2025
654b7b5
increment depth of nested obligations
lcnr Mar 27, 2025
f153685
Improve docs of ValTreeKind
bjorn3 Mar 25, 2025
cdd69d6
Rollup merge of #110406 - aDotInTheVoid:rdj-derived-impl-attr, r=Guil…
matthiaskrgr Apr 1, 2025
068594e
Rollup merge of #138790 - xizheyin:issue-138626, r=compiler-errors
matthiaskrgr Apr 1, 2025
0cae6f5
Rollup merge of #139002 - cuviper:relnotes-1.86.0, r=BoxyUwU
matthiaskrgr Apr 1, 2025
000d018
Rollup merge of #139022 - lcnr:incr-obligation-depth, r=oli-obk
matthiaskrgr Apr 1, 2025
a04b0e3
Rollup merge of #139129 - reez12g:add-tests-for-slice-bounds-check-op…
matthiaskrgr Apr 1, 2025
2a557ec
Rollup merge of #139188 - durin42:llvm-21-LintPass, r=dianqk
matthiaskrgr Apr 1, 2025
aafb17d
Rollup merge of #139193 - compiler-errors:inline-synthetic, r=eholk
matthiaskrgr Apr 1, 2025
99826dd
Rollup merge of #139202 - bjorn3:improve_comment, r=jieyouxu
matthiaskrgr Apr 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tests/rustdoc-json/attrs/automatically_derived.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#[derive(Default)]
pub struct Derive;

pub struct Manual;

impl Default for Manual {
fn default() -> Self {
Self
}
}

//@ is '$.index[?(@.inner.impl.for.resolved_path.path == "Derive" && @.inner.impl.trait.path == "Default")].attrs' '["#[automatically_derived]"]'
//@ is '$.index[?(@.inner.impl.for.resolved_path.path == "Manual" && @.inner.impl.trait.path == "Default")].attrs' '[]'