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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
27f8efb
Bump object
heiher Jun 4, 2025
387dae9
Move canonicalization into current_dll_path
bjorn3 Jun 5, 2025
dff8ee5
Replace all uses of sysroot_candidates with get_or_default_sysroot
bjorn3 Jun 5, 2025
38d69c3
Add new Tier-3 targets: `loongarch32-unknown-none*`
heiher Jan 9, 2025
d945c85
compiler: Add track_caller to AbiMapping::unwrap
workingjubilee Jun 6, 2025
e4c4c4c
Fix review comments
bjorn3 Jun 6, 2025
bafe406
UnsafePinned: update get() docs and signature to allow shared mutation
RalfJung Jun 7, 2025
bd0a81e
centralize aliasing rules discussion in UnsafeCell docs
RalfJung Jun 7, 2025
a50bd7c
store `target.min_global_align` as an `Align`
folkertdev Jun 7, 2025
3380a91
cleaned up some tests
Kivooeo Jun 6, 2025
143354c
added test for 30904
Kivooeo Jun 7, 2025
85ce9ee
cleaned up some tests
Kivooeo Jun 7, 2025
9223704
Remove all unused feature gates from the compiler
bjorn3 Jun 8, 2025
b189d29
Do not free disk space in the `mingw-check-tidy` job
Kobzol Jun 8, 2025
e82630c
Run `mingw-check-tidy` on auto builds
Kobzol Jun 8, 2025
2e19658
Remove rustc's notion of "preferred" alignment AKA `__alignof`
workingjubilee Feb 12, 2025
ec13ae6
compiler: add Deref to AbiAlign to ease transition
workingjubilee Jun 4, 2025
1df69bc
Rollup merge of #141803 - workingjubilee:remove-pref-align, r=bjorn3
workingjubilee Jun 9, 2025
840baa4
Rollup merge of #142053 - heiher:loong32-none, r=wesleywiser
workingjubilee Jun 9, 2025
41bc5d7
Rollup merge of #142089 - bjorn3:sysroot_handling_cleanup3, r=petroch…
workingjubilee Jun 9, 2025
ed61e50
Rollup merge of #142108 - workingjubilee:track-caller-in-abi-map, r=j…
workingjubilee Jun 9, 2025
a5b8a45
Rollup merge of #142132 - Kivooeo:tf6, r=workingjubilee
workingjubilee Jun 9, 2025
faab021
Rollup merge of #142162 - RalfJung:unsafe-pinned-get, r=workingjubile…
workingjubilee Jun 9, 2025
277f57e
Rollup merge of #142171 - Kivooeo:tf7, r=workingjubilee
workingjubilee Jun 9, 2025
48667dd
Rollup merge of #142179 - folkertdev:min-global-align-parse, r=workin…
workingjubilee Jun 9, 2025
29ef4c8
Rollup merge of #142183 - Kivooeo:30904-test, r=compiler-errors
workingjubilee Jun 9, 2025
940a436
Rollup merge of #142194 - bjorn3:less_unstable_features, r=jieyouxu
workingjubilee Jun 9, 2025
66b6da5
Rollup merge of #142199 - Kobzol:tidy-speed-up, r=Mark-Simulacrum
workingjubilee Jun 9, 2025
e91f985
Rollup merge of #142210 - Kobzol:tidy-auto-builds, r=Mark-Simulacrum
workingjubilee Jun 9, 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
Prev Previous commit
Next Next commit
cleaned up some tests
  • Loading branch information
Kivooeo committed Jun 8, 2025
commit 85ce9ee481a56bcabaa9480cfc0e2b420e4f1807
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Checks error handling for undefined custom attributes.

#![feature(stmt_expr_attributes)]

#[foo] //~ ERROR cannot find attribute `foo` in this scope
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
error: cannot find attribute `foo` in this scope
--> $DIR/custom_attribute.rs:3:3
--> $DIR/attr_unknown_custom_attr.rs:5:3
|
LL | #[foo]
| ^^^

error: cannot find attribute `foo` in this scope
--> $DIR/custom_attribute.rs:5:7
--> $DIR/attr_unknown_custom_attr.rs:7:7
|
LL | #[foo]
| ^^^

error: cannot find attribute `foo` in this scope
--> $DIR/custom_attribute.rs:7:7
--> $DIR/attr_unknown_custom_attr.rs:9:7
|
LL | #[foo]
| ^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Checks error handling for mismatched `--crate-name` and `#![crate_name]` values.

//@ compile-flags: --crate-name foo

#![crate_name = "bar"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: `--crate-name` and `#[crate_name]` are required to match, but `foo` != `bar`
--> $DIR/crate-name-mismatch.rs:3:1
--> $DIR/crate-name-mismatch.rs:5:1
|
LL | #![crate_name = "bar"]
| ^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Unresolved multi-segment attributes are not treated as custom.
//! Unresolved multi-segment attributes are not treated as custom.

mod existent {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0433]: failed to resolve: could not find `nonexistent` in `existent`
--> $DIR/custom-attribute-multisegment.rs:5:13
--> $DIR/custom_attr_multisegment_error.rs:5:13
|
LL | #[existent::nonexistent]
| ^^^^^^^^^^^ could not find `nonexistent` in `existent`
Expand Down
7 changes: 0 additions & 7 deletions tests/ui/default-method-parsing.rs

This file was deleted.

2 changes: 2 additions & 0 deletions tests/ui/deep.rs → tests/ui/runtime/deep_recursion.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Checks deep recursion behavior.
//@ run-pass
//@ ignore-emscripten apparently blows the stack

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Checks run with a custom test framework and indexed test functions.

//@ compile-flags: --test
//@ run-pass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//@ run-pass
//! Checks basic default method functionality.
#![allow(dead_code)]
//@ run-pass

trait Foo {
fn f(&self) {
Expand All @@ -10,9 +10,7 @@ trait Foo {
fn g(&self);
}

struct A {
x: isize
}
struct A;

impl Foo for A {
fn g(&self) {
Expand All @@ -21,6 +19,6 @@ impl Foo for A {
}

pub fn main() {
let a = A { x: 1 };
let a = A;
a.f();
}
Loading