Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 28, 2025. It is now read-only.
/rustPublic archive
forked fromrust-lang/rust

Commitbbe9a9c

Browse files
committed
Auto merge ofrust-lang#126319 - workingjubilee:rollup-lendnud, r=workingjubilee
Rollup of 16 pull requestsSuccessful merges: -rust-lang#123374 (DOC: Add FFI example for slice::from_raw_parts()) -rust-lang#124514 (Recommend to never display zero disambiguators when demangling v0 symbols) -rust-lang#125978 (Cleanup: HIR ty lowering: Consolidate the places that do assoc item probing & access checking) -rust-lang#125980 (Nvptx remove direct passmode) -rust-lang#126187 (For E0277 suggest adding `Result` return type for function when using QuestionMark `?` in the body.) -rust-lang#126210 (docs(core): make more const_ptr doctests assert instead of printing) -rust-lang#126249 (Simplify `[T; N]::try_map` signature) -rust-lang#126256 (Add {{target}} substitution to compiletest) -rust-lang#126263 (Make issue-122805.rs big endian compatible) -rust-lang#126281 (set_env: State the conclusion upfront) -rust-lang#126286 (Make `storage-live.rs` robust against rustc internal changes.) -rust-lang#126287 (Update a cranelift patch file for formatting changes.) -rust-lang#126301 (Use `tidy` to sort crate attributes for all compiler crates.) -rust-lang#126305 (Make PathBuf less Ok with adding UTF-16 then `into_string`) -rust-lang#126310 (Migrate run make prefer rlib) -rust-lang#126314 (fix RELEASES: we do not support upcasting to auto traits)r? `@ghost``@rustbot` modify labels: rollup
2 parents02c7a59 +0a52849 commitbbe9a9c

File tree

96 files changed

+753
-246
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+753
-246
lines changed

‎RELEASES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Language
147147
- [Split `refining_impl_trait` lint into `_reachable`, `_internal` variants](https://github.com/rust-lang/rust/pull/121720/)
148148
- [Remove unnecessary type inference when using associated types inside of higher ranked `where`-bounds](https://github.com/rust-lang/rust/pull/119849)
149149
- [Weaken eager detection of cyclic types during type inference](https://github.com/rust-lang/rust/pull/119989)
150-
- [`trait Trait: Auto {}`: allow upcasting from `dyn Trait` to `dyn Auto`](https://github.com/rust-lang/rust/pull/119338)
150+
- [`trait Trait: Auto {}`: allow upcasting from `dyn Trait` to `dynTrait +Auto`](https://github.com/rust-lang/rust/pull/119338)
151151

152152
<a id="1.78.0-Compiler"></a>
153153

‎compiler/rustc_abi/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
#![cfg_attr(feature ="nightly", feature(step_trait))]
1+
// tidy-alphabetical-start
22
#![cfg_attr(feature ="nightly", allow(internal_features))]
33
#![cfg_attr(feature ="nightly", doc(rust_logo))]
44
#![cfg_attr(feature ="nightly", feature(rustdoc_internals))]
5+
#![cfg_attr(feature ="nightly", feature(step_trait))]
6+
// tidy-alphabetical-end
57

68
use std::fmt;
79
use std::num::{NonZeroUsize,ParseIntError};

‎compiler/rustc_arena/src/lib.rs‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,25 @@
77
//!
88
//! This crate implements several kinds of arena.
99
10+
// tidy-alphabetical-start
11+
#![allow(clippy::mut_from_ref)]// Arena allocators are one place where this pattern is fine.
12+
#![allow(internal_features)]
13+
#![cfg_attr(test, feature(test))]
14+
#![deny(unsafe_op_in_unsafe_fn)]
1015
#![doc(
1116
html_root_url ="https://doc.rust-lang.org/nightly/nightly-rustc/",
1217
test(no_crate_inject, attr(deny(warnings)))
1318
)]
1419
#![doc(rust_logo)]
15-
#![feature(rustdoc_internals)]
1620
#![feature(core_intrinsics)]
21+
#![feature(decl_macro)]
1722
#![feature(dropck_eyepatch)]
18-
#![feature(new_uninit)]
1923
#![feature(maybe_uninit_slice)]
20-
#![feature(decl_macro)]
24+
#![feature(new_uninit)]
2125
#![feature(rustc_attrs)]
22-
#![cfg_attr(test,feature(test))]
26+
#![feature(rustdoc_internals)]
2327
#![feature(strict_provenance)]
24-
#![deny(unsafe_op_in_unsafe_fn)]
25-
#![allow(internal_features)]
26-
#![allow(clippy::mut_from_ref)]// Arena allocators are one of the places where this pattern is fine.
28+
// tidy-alphabetical-end
2729

2830
use smallvec::SmallVec;
2931

‎compiler/rustc_ast/src/lib.rs‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,22 @@
44
//!
55
//! This API is completely unstable and subject to change.
66
7+
// tidy-alphabetical-start
8+
#![allow(internal_features)]
79
#![doc(
810
html_root_url ="https://doc.rust-lang.org/nightly/nightly-rustc/",
911
test(attr(deny(warnings)))
1012
)]
1113
#![doc(rust_logo)]
12-
#![allow(internal_features)]
13-
#![feature(rustdoc_internals)]
1414
#![feature(associated_type_defaults)]
1515
#![feature(box_patterns)]
1616
#![feature(if_let_guard)]
1717
#![feature(let_chains)]
18-
#![feature(never_type)]
1918
#![feature(negative_impls)]
19+
#![feature(never_type)]
20+
#![feature(rustdoc_internals)]
2021
#![feature(stmt_expr_attributes)]
22+
// tidy-alphabetical-end
2123

2224
pubmod util{
2325
pubmod case;

‎compiler/rustc_ast_ir/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// tidy-alphabetical-start
2+
#![cfg_attr(feature ="nightly", allow(internal_features))]
13
#![cfg_attr(feature ="nightly", feature(never_type))]
24
#![cfg_attr(feature ="nightly", feature(rustc_attrs))]
3-
#![cfg_attr(feature ="nightly", allow(internal_features))]
5+
// tidy-alphabetical-end
46

57
#[cfg(feature ="nightly")]
68
use rustc_macros::{Decodable,Encodable,HashStable_NoContext};

‎compiler/rustc_ast_lowering/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@
3030
//! get confused if the spans from leaf AST nodes occur in multiple places
3131
//! in the HIR, especially for multiple identifiers.
3232
33+
// tidy-alphabetical-start
3334
#![allow(internal_features)]
34-
#![feature(rustdoc_internals)]
3535
#![doc(rust_logo)]
3636
#![feature(assert_matches)]
3737
#![feature(box_patterns)]
3838
#![feature(let_chains)]
39+
#![feature(rustdoc_internals)]
40+
// tidy-alphabetical-end
3941

4042
usecrate::errors::{AssocTyParentheses,AssocTyParenthesesSub,MisplacedImplTrait};
4143
use rustc_ast::node_id::NodeMap;

‎compiler/rustc_ast_passes/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
//!
55
//! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
66
7+
// tidy-alphabetical-start
78
#![allow(internal_features)]
89
#![doc(rust_logo)]
9-
#![feature(rustdoc_internals)]
1010
#![feature(box_patterns)]
1111
#![feature(if_let_guard)]
1212
#![feature(iter_is_partitioned)]
1313
#![feature(let_chains)]
14+
#![feature(rustdoc_internals)]
15+
// tidy-alphabetical-end
1416

1517
pubmod ast_validation;
1618
mod errors;

‎compiler/rustc_ast_pretty/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
// tidy-alphabetical-start
12
#![allow(internal_features)]
2-
#![feature(rustdoc_internals)]
33
#![doc(rust_logo)]
44
#![feature(box_patterns)]
5+
#![feature(rustdoc_internals)]
6+
// tidy-alphabetical-end
57

68
mod helpers;
79
pubmod pp;

‎compiler/rustc_attr/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
//! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
55
//! to this crate.
66
7+
// tidy-alphabetical-start
78
#![allow(internal_features)]
8-
#![feature(rustdoc_internals)]
99
#![doc(rust_logo)]
1010
#![feature(let_chains)]
11+
#![feature(rustdoc_internals)]
12+
// tidy-alphabetical-end
1113

1214
mod builtin;
1315
mod session_diagnostics;

‎compiler/rustc_baked_icu_data/src/lib.rs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
//! --cldr-tag latest --icuexport-tag latest -o src/data
2121
//! ```
2222
23+
// tidy-alphabetical-start
24+
#![allow(elided_lifetimes_in_paths)]
2325
#![allow(internal_features)]
24-
#![feature(rustdoc_internals)]
2526
#![doc(rust_logo)]
26-
#![allow(elided_lifetimes_in_paths)]
27+
#![feature(rustdoc_internals)]
28+
// tidy-alphabetical-end
2729

2830
mod data{
2931
include!("data/mod.rs");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp