Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4be041a
Also apply `warn(for_loops_over_fallibles)` to &T and &mut T, not jus…
zachs18 May 15, 2024
7d7eb97
Fix new for_loops_over_fallibles hits in compiler.
zachs18 May 15, 2024
77f288c
Include reference in lint diagnostic
zachs18 May 15, 2024
ea549fd
Add tests for 'Also apply `warn(for_loops_over_fallibles)` to &T and …
zachs18 May 15, 2024
0e46759
Fix more new for_loops_over_fallibles hits in compiler.
zachs18 May 15, 2024
66573b7
Use 'a' article for &Option.
zachs18 May 15, 2024
6b818dd
Fix article in test
zachs18 May 15, 2024
376a8c0
Allow for_loops_over_fallibles in test that tests &mut Result as Into…
zachs18 May 15, 2024
a59d071
Fix `for_loops_over_fallibles` hits in compiletest/src/json.rs
zachs18 May 16, 2024
3a21fb5
Wrap Context.ext in AssertUnwindSafe
workingjubilee May 22, 2024
8fde7e3
For OutsideLoop we should not suggest add 'block label in if block, o…
surechen Apr 8, 2024
5da41f5
self-contained linker: retry without -fuse-ld=lld on older GCCs
lqd May 22, 2024
c8844df
Clarify the meaning of the span within `mbe::TokenTree::MetaVar`.
nnethercote May 19, 2024
3fc8f89
Clarify `parse` a little.
nnethercote May 19, 2024
b6de782
Clarify a comment.
nnethercote May 16, 2024
c679a55
Convert some `token_joint_hidden` calls to `token_joint`.
nnethercote May 16, 2024
a1b6d46
Use `JointHidden` in a couple of suitable places.
nnethercote May 16, 2024
4d513cb
Add some comments.
nnethercote May 20, 2024
07b7cd6
Add some tests for public-private dependencies.
ehuss Mar 17, 2024
5f4424b
Handle `ReVar` in `note_and_explain_region`.
nnethercote May 12, 2024
ddb81ce
rewrite and rename issue-46239
Oneirical May 17, 2024
5ee8267
Rollup merge of #122665 - ehuss:pub-priv-tests, r=davidtwco
matthiaskrgr May 23, 2024
96134e1
Rollup merge of #123623 - surechen:fix_123261, r=estebank
matthiaskrgr May 23, 2024
72fd85c
Rollup merge of #125054 - nnethercote:fix-124973, r=compiler-errors
matthiaskrgr May 23, 2024
4af1c31
Rollup merge of #125156 - zachs18:for_loops_over_fallibles_behind_ref…
matthiaskrgr May 23, 2024
f131ee6
Rollup merge of #125222 - Oneirical:fifth, r=jieyouxu
matthiaskrgr May 23, 2024
3c79f0c
Rollup merge of #125316 - nnethercote:tweak-Spacing, r=petrochenkov
matthiaskrgr May 23, 2024
5126d4b
Rollup merge of #125392 - workingjubilee:unwind-a-problem-in-context,…
matthiaskrgr May 23, 2024
748647f
Rollup merge of #125417 - lqd:lld-retry, r=petrochenkov
matthiaskrgr May 23, 2024
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
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ run-make/issue-37839/Makefile
run-make/issue-37893/Makefile
run-make/issue-38237/Makefile
run-make/issue-40535/Makefile
run-make/issue-46239/Makefile
run-make/issue-47384/Makefile
run-make/issue-47551/Makefile
run-make/issue-51671/Makefile
Expand Down
21 changes: 21 additions & 0 deletions tests/codegen/noalias-freeze.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//@ compile-flags: -Copt-level=1

// References returned by a Frozen pointer type
// could be marked as "noalias", which caused miscompilation errors.
// This test runs the most minimal possible code that can reproduce this bug,
// and checks that noalias does not appear.
// See https://github.com/rust-lang/rust/issues/46239

#![crate_type = "lib"]

fn project<T>(x: &(T,)) -> &T { &x.0 }

fn dummy() {}

// CHECK-LABEL: @foo(
// CHECK-NOT: noalias
#[no_mangle]
pub fn foo() {
let f = (dummy as fn(),);
(*project(&f))();
}
6 changes: 0 additions & 6 deletions tests/run-make/issue-46239/Makefile

This file was deleted.

8 changes: 0 additions & 8 deletions tests/run-make/issue-46239/main.rs

This file was deleted.