Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/print/pretty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,7 @@ impl<'tcx> Printer<'tcx> for FmtPrinter<'_, 'tcx> {
{
// We only truncate types that we know are likely to be much longer than 3 chars.
// There's no point in replacing `i32` or `!`.
write!(self, "...")?;
write!(self, "_")?;
Ok(())
}
_ => {
Expand Down
2 changes: 2 additions & 0 deletions library/std/src/sync/once.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ impl Once {
/// If this [`Once`] has been poisoned because an initialization closure has
/// panicked, this method will also panic. Use [`wait_force`](Self::wait_force)
/// if this behavior is not desired.
#[inline]
#[stable(feature = "once_wait", since = "1.86.0")]
#[rustc_should_not_be_called_on_const_items]
pub fn wait(&self) {
Expand All @@ -309,6 +310,7 @@ impl Once {
///
/// If this [`Once`] has been poisoned, this function blocks until it
/// becomes completed, unlike [`Once::wait()`], which panics in this case.
#[inline]
#[stable(feature = "once_wait", since = "1.86.0")]
#[rustc_should_not_be_called_on_const_items]
pub fn wait_force(&self) {
Expand Down
4 changes: 2 additions & 2 deletions src/bootstrap/src/core/build_steps/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::path::{Path, PathBuf};

use crate::core::build_steps::compile::{
ArtifactKeepMode, add_to_sysroot, run_cargo, rustc_cargo, rustc_cargo_env, std_cargo,
std_crates_for_run_make,
std_crates_for_make_run,
};
use crate::core::build_steps::tool;
use crate::core::build_steps::tool::{
Expand Down Expand Up @@ -68,7 +68,7 @@ impl Step for Std {
// Explicitly pass -p for all dependencies crates -- this will force cargo
// to also check the tests/benches/examples for these crates, rather
// than just the leaf crate.
let crates = std_crates_for_run_make(&run);
let crates = std_crates_for_make_run(&run);
run.builder.ensure(Std {
build_compiler: prepare_compiler_for_check(run.builder, run.target, Mode::Std)
.build_compiler(),
Expand Down
7 changes: 4 additions & 3 deletions src/bootstrap/src/core/build_steps/clippy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
//! to pass a prebuilt Clippy from the outside when running `cargo clippy`, but that would be
//! (as usual) a massive undertaking/refactoring.

use super::compile::{ArtifactKeepMode, run_cargo, rustc_cargo, std_cargo};
use super::tool::{SourceType, prepare_tool_cargo};
use crate::builder::{Builder, ShouldRun};
use crate::core::build_steps::check::{CompilerForCheck, prepare_compiler_for_check};
use crate::core::build_steps::compile::std_crates_for_run_make;
use crate::core::build_steps::compile::{
ArtifactKeepMode, run_cargo, rustc_cargo, std_cargo, std_crates_for_make_run,
};
use crate::core::builder;
use crate::core::builder::{Alias, Kind, RunConfig, Step, StepMetadata, crate_description};
use crate::utils::build_stamp::{self, BuildStamp};
Expand Down Expand Up @@ -178,7 +179,7 @@ impl Step for Std {
}

fn make_run(run: RunConfig<'_>) {
let crates = std_crates_for_run_make(&run);
let crates = std_crates_for_make_run(&run);
let config = LintConfig::new(run.builder);
run.builder.ensure(Std::new(run.builder, run.target, config, crates));
}
Expand Down
6 changes: 3 additions & 3 deletions src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl Step for Std {
}

fn make_run(run: RunConfig<'_>) {
let crates = std_crates_for_run_make(&run);
let crates = std_crates_for_make_run(&run);
let builder = run.builder;

// Force compilation of the standard library from source if the `library` is modified. This allows
Expand Down Expand Up @@ -479,9 +479,9 @@ fn copy_self_contained_objects(
target_deps
}

/// Resolves standard library crates for `Std::run_make` for any build kind (like check, doc,
/// Resolves standard library crates for [`Std::make_run`] for any build kind (like check, doc,
/// build, clippy, etc.).
pub fn std_crates_for_run_make(run: &RunConfig<'_>) -> Vec<String> {
pub fn std_crates_for_make_run(run: &RunConfig<'_>) -> Vec<String> {
let mut crates = run.make_run_crates(builder::Alias::Library);

// For no_std targets, we only want to check core and alloc
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ impl Step for Std {
}

fn make_run(run: RunConfig<'_>) {
let crates = compile::std_crates_for_run_make(&run);
let crates = compile::std_crates_for_make_run(&run);
let target_is_no_std = run.builder.no_std(run.target).unwrap_or(false);
if crates.is_empty() && target_is_no_std {
return;
Expand Down
10 changes: 6 additions & 4 deletions src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,10 +1085,12 @@ impl Step for IntrinsicTest {
cmd.env("CFLAGS", cflags);
// intrinsic-test shells out to `cargo` and `rustfmt` make bootstrap's
// managed binaries findable by prepending their dirs to PATH.
let rustfmt_path = builder.config.initial_rustfmt.clone().unwrap_or_else(|| {
eprintln!("intrinsic-test: rustfmt is required but not available on this channel");
crate::exit!(1);
});
let Some(rustfmt_path) = builder.config.initial_rustfmt.clone() else {
eprintln!(
"WARNING: intrinsic-test skipped because rustfmt is required but not available on this channel"
);
return;
};

let mut path_dirs: Vec<PathBuf> = Vec::new();
if let Some(cargo_dir) = builder.initial_cargo.parent() {
Expand Down
10 changes: 8 additions & 2 deletions src/tools/tidy/src/deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,17 @@ const EXCEPTIONS_RUST_ANALYZER: ExceptionList = &[

const EXCEPTIONS_RUSTC_PERF: ExceptionList = &[
// tidy-alphabetical-start
("aws-lc-rs", "ISC AND (Apache-2.0 OR ISC)"),
(
"aws-lc-sys",
"ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)",
),
("brotli", "BSD-3-Clause AND MIT"),
("fast-srgb8", "MIT OR Apache-2.0 OR CC0-1.0"),
("inferno", "CDDL-1.0"),
("option-ext", "MPL-2.0"),
("terminfo", "WTFPL"),
("wasite", "Apache-2.0 OR BSL-1.0 OR MIT"),
("wezterm-bidi", "MIT AND Unicode-DFS-2016"),
("webpki-root-certs", "CDLA-Permissive-2.0"),
("whoami", "Apache-2.0 OR BSL-1.0 OR MIT"),
// tidy-alphabetical-end
];
Expand Down
2 changes: 1 addition & 1 deletion src/tools/tidy/src/extdeps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::diagnostics::TidyCtx;
const ALLOWED_SOURCES: &[&str] = &[
r#""registry+https://github.com/rust-lang/crates.io-index""#,
// This is `rust_team_data` used by `site` in src/tools/rustc-perf,
r#""git+https://github.com/rust-lang/team#a5260e76d3aa894c64c56e6ddc8545b9a98043ec""#,
r#""git+https://github.com/rust-lang/team#db2c1ed9fbc0216e533db954cd249045c01c7406""#,
];

/// Checks for external package sources. `root` is the path to the directory that contains the
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/codegen/overflow-during-mono.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ error[E0275]: overflow evaluating the requirement `for<'a> {closure@$DIR/overflo
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "64"]` attribute to your crate (`overflow_during_mono`)
= note: required for `Filter<IntoIter<i32, 11>, {closure@overflow-during-mono.rs:14:41}>` to implement `Iterator`
= note: 31 redundant requirements hidden
= note: required for `Filter<Filter<Filter<Filter<Filter<..., ...>, ...>, ...>, ...>, ...>` to implement `Iterator`
= note: required for `Filter<Filter<Filter<Filter<Filter<..., ...>, ...>, ...>, ...>, ...>` to implement `IntoIterator`
= note: required for `Filter<Filter<Filter<Filter<Filter<Filter<_, _>, _>, _>, _>, _>, _>` to implement `Iterator`
= note: required for `Filter<Filter<Filter<Filter<Filter<Filter<_, _>, _>, _>, _>, _>, _>` to implement `IntoIterator`
= note: the full name for the type has been written to '$TEST_BUILD_DIR/overflow-during-mono.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ error[E0308]: mismatched types
--> $DIR/hr_alias_normalization_leaking_vars.rs:34:36
|
LL | LendingIterator::for_each(&(), f);
| ------------------------- ^ expected `Box<fn(...)>`, found fn item
| ------------------------- ^ expected `Box<fn(_)>`, found fn item
| |
| arguments to this function are incorrect
|
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/diagnostic-width/E0271.ascii.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0271]: type mismatch resolving `<Result<..., ()> as Future>::Error == Foo`
error[E0271]: type mismatch resolving `<Result<_, ()> as Future>::Error == Foo`
--> $DIR/E0271.rs:19:5
|
LL | / Box::new(
Expand All @@ -7,14 +7,14 @@ LL | | Err::<(), _>(
LL | | Ok::<_, ()>(
... |
LL | | )
| |_____^ type mismatch resolving `<Result<..., ()> as Future>::Error == Foo`
| |_____^ type mismatch resolving `<Result<_, ()> as Future>::Error == Foo`
|
note: expected this to be `Foo`
--> $DIR/E0271.rs:9:18
|
LL | type Error = E;
| ^
= note: required for the cast from `Box<Result<..., ()>>` to `Box<...>`
= note: required for the cast from `Box<Result<_, ()>>` to `Box<_>`
= note: the full name for the type has been written to '$TEST_BUILD_DIR/E0271.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console

Expand Down
6 changes: 3 additions & 3 deletions tests/ui/diagnostic-width/E0271.unicode.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0271]: type mismatch resolving `<Result<..., ()> as Future>::Error == Foo`
error[E0271]: type mismatch resolving `<Result<_, ()> as Future>::Error == Foo`
╭▸ $DIR/E0271.rs:19:5
LL │ ┏ Box::new(
Expand All @@ -7,14 +7,14 @@ LL │ ┃ Err::<(), _>(
LL │ ┃ Ok::<_, ()>(
‡ ┃
LL │ ┃ )
│ ┗━━━━━┛ type mismatch resolving `<Result<..., ()> as Future>::Error == Foo`
│ ┗━━━━━┛ type mismatch resolving `<Result<_, ()> as Future>::Error == Foo`
╰╴
note: expected this to be `Foo`
╭▸ $DIR/E0271.rs:9:18
LL │ type Error = E;
│ ━
├ note: required for the cast from `Box<Result<..., ()>>` to `Box<...>`
├ note: required for the cast from `Box<Result<_, ()>>` to `Box<_>`
├ note: the full name for the type has been written to '$TEST_BUILD_DIR/E0271.long-type-$LONG_TYPE_HASH.txt'
╰ note: consider using `--verbose` to print the full type name to the console

Expand Down
4 changes: 2 additions & 2 deletions tests/ui/diagnostic-width/binop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ type C = (B, B, B, B);
type D = (C, C, C, C);

fn foo(x: D) {
x + x; //~ ERROR cannot add `(...
x + x; //~ ERROR cannot add `((_
}

fn bar(x: D) {
!x; //~ ERROR cannot apply unary operator `!` to type `(...
!x; //~ ERROR cannot apply unary operator `!` to type `((_
}

fn main() {}
8 changes: 4 additions & 4 deletions tests/ui/diagnostic-width/binop.stderr
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
error[E0369]: cannot add `(..., ..., ..., ...)` to `(..., ..., ..., ...)`
error[E0369]: cannot add `((_, _, _, _), _, _, _)` to `((_, _, _, _), _, _, _)`
--> $DIR/binop.rs:8:7
|
LL | x + x;
| - ^ - (..., ..., ..., ...)
| - ^ - ((_, _, _, _), _, _, _)
| |
| (..., ..., ..., ...)
| ((_, _, _, _), _, _, _)
|
= note: the full name for the type has been written to '$TEST_BUILD_DIR/binop.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console

error[E0600]: cannot apply unary operator `!` to type `(..., ..., ..., ...)`
error[E0600]: cannot apply unary operator `!` to type `((_, _, _, _), _, _, _)`
--> $DIR/binop.rs:12:5
|
LL | !x;
Expand Down
20 changes: 10 additions & 10 deletions tests/ui/diagnostic-width/long-E0308.ascii.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ LL | | Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok...
LL | | Ok("")
LL | | ))))))))))))))))))))))))))))))
LL | | ))))))))))))))))))))))))))))));
| |__________________________________^ expected `Atype<Btype<Ctype<..., i32>, i32>, i32>`, found `Result<Result<Result<..., _>, _>, _>`
| |__________________________________^ expected `Atype<Btype<Ctype<_, i32>, i32>, i32>`, found `Result<Result<Result<_, _>, _>, _>`
|
= note: expected struct `Atype<Btype<..., i32>, i32>`
found enum `Result<Result<..., _>, _>`
= note: expected struct `Atype<Btype<_, i32>, i32>`
found enum `Result<Result<_, _>, _>`
= note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console

Expand All @@ -32,10 +32,10 @@ LL | | Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(...
LL | | Ok(Ok(Ok(Ok(Ok(Ok(Ok("")))))))
LL | | ))))))))))))))))))))))))))))))
LL | | ))))))))))))))))))))))));
| |____________________________^ expected `Option<Result<Option<Option<...>>, _>>`, found `Result<Result<Result<..., _>, _>, _>`
| |____________________________^ expected `Option<Result<Option<Option<_>>, _>>`, found `Result<Result<Result<_, _>, _>, _>`
|
= note: expected enum `Option<Result<Option<...>, _>>`
found enum `Result<Result<..., _>, _>`
= note: expected enum `Option<Result<Option<_>, _>>`
found enum `Result<Result<_, _>, _>`
= note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console

Expand All @@ -50,11 +50,11 @@ LL | | Atype<
... |
LL | | i32
LL | | > = ();
| | - ^^ expected `Atype<Btype<Ctype<..., i32>, i32>, i32>`, found `()`
| | - ^^ expected `Atype<Btype<Ctype<_, i32>, i32>, i32>`, found `()`
| |_____|
| expected due to this
|
= note: expected struct `Atype<Btype<..., i32>, i32>`
= note: expected struct `Atype<Btype<_, i32>, i32>`
found unit type `()`
= note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console
Expand All @@ -70,10 +70,10 @@ LL | | Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(...
LL | | Ok(Ok(Ok(Ok(Ok(Ok(Ok("")))))))
LL | | ))))))))))))))))))))))))))))))
LL | | ))))))))))))))))))))))));
| |____________________________^ expected `()`, found `Result<Result<Result<..., _>, _>, _>`
| |____________________________^ expected `()`, found `Result<Result<Result<_, _>, _>, _>`
|
= note: expected unit type `()`
found enum `Result<Result<..., _>, _>`
found enum `Result<Result<_, _>, _>`
= note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console

Expand Down
20 changes: 10 additions & 10 deletions tests/ui/diagnostic-width/long-E0308.unicode.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(O…
LL │ ┃ Ok("")
LL │ ┃ ))))))))))))))))))))))))))))))
LL │ ┃ ))))))))))))))))))))))))))))));
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `Atype<Btype<Ctype<..., i32>, i32>, i32>`, found `Result<Result<Result<..., _>, _>, _>`
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `Atype<Btype<Ctype<_, i32>, i32>, i32>`, found `Result<Result<Result<_, _>, _>, _>`
├ note: expected struct `Atype<Btype<..., i32>, i32>`
│ found enum `Result<Result<..., _>, _>`
├ note: expected struct `Atype<Btype<_, i32>, i32>`
│ found enum `Result<Result<_, _>, _>`
├ note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
╰ note: consider using `--verbose` to print the full type name to the console

Expand All @@ -32,10 +32,10 @@ LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok…
LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok("")))))))
LL │ ┃ ))))))))))))))))))))))))))))))
LL │ ┃ ))))))))))))))))))))))));
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `Option<Result<Option<Option<...>>, _>>`, found `Result<Result<Result<..., _>, _>, _>`
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `Option<Result<Option<Option<_>>, _>>`, found `Result<Result<Result<_, _>, _>, _>`
├ note: expected enum `Option<Result<Option<...>, _>>`
│ found enum `Result<Result<..., _>, _>`
├ note: expected enum `Option<Result<Option<_>, _>>`
│ found enum `Result<Result<_, _>, _>`
├ note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
╰ note: consider using `--verbose` to print the full type name to the console

Expand All @@ -50,11 +50,11 @@ LL │ │ Atype<
‡ │
LL │ │ i32
LL │ │ > = ();
│ │ │ ━━ expected `Atype<Btype<Ctype<..., i32>, i32>, i32>`, found `()`
│ │ │ ━━ expected `Atype<Btype<Ctype<_, i32>, i32>, i32>`, found `()`
│ └─────┤
│ expected due to this
├ note: expected struct `Atype<Btype<..., i32>, i32>`
├ note: expected struct `Atype<Btype<_, i32>, i32>`
│ found unit type `()`
├ note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
╰ note: consider using `--verbose` to print the full type name to the console
Expand All @@ -70,10 +70,10 @@ LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok…
LL │ ┃ Ok(Ok(Ok(Ok(Ok(Ok(Ok("")))))))
LL │ ┃ ))))))))))))))))))))))))))))))
LL │ ┃ ))))))))))))))))))))))));
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `()`, found `Result<Result<Result<..., _>, _>, _>`
│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ expected `()`, found `Result<Result<Result<_, _>, _>, _>`
├ note: expected unit type `()`
│ found enum `Result<Result<..., _>, _>`
│ found enum `Result<Result<_, _>, _>`
├ note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0308.long-type-$LONG_TYPE_HASH.txt'
╰ note: consider using `--verbose` to print the full type name to the console

Expand Down
4 changes: 2 additions & 2 deletions tests/ui/diagnostic-width/long-E0529.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ type C = (B, B, B, B);
type D = (C, C, C, C);

fn foo(x: D) {
let [] = x; //~ ERROR expected an array or slice, found `(...
//~^ NOTE pattern cannot match with input type `(...
let [] = x; //~ ERROR expected an array or slice, found `((_
//~^ NOTE pattern cannot match with input type `((_
}

fn main() {}
4 changes: 2 additions & 2 deletions tests/ui/diagnostic-width/long-E0529.stderr
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
error[E0529]: expected an array or slice, found `(..., ..., ..., ...)`
error[E0529]: expected an array or slice, found `((_, _, _, _), _, _, _)`
--> $DIR/long-E0529.rs:10:9
|
LL | let [] = x;
| ^^ pattern cannot match with input type `(..., ..., ..., ...)`
| ^^ pattern cannot match with input type `((_, _, _, _), _, _, _)`
|
= note: the full name for the type has been written to '$TEST_BUILD_DIR/long-E0529.long-type-$LONG_TYPE_HASH.txt'
= note: consider using `--verbose` to print the full type name to the console
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/diagnostic-width/long-E0609.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type C = (B, B, B, B);
type D = (C, C, C, C);

fn foo(x: D) {
x.field; //~ ERROR no field `field` on type `(...
x.field; //~ ERROR no field `field` on type `((_
}

fn main() {}
2 changes: 1 addition & 1 deletion tests/ui/diagnostic-width/long-E0609.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0609]: no field `field` on type `(..., ..., ..., ...)`
error[E0609]: no field `field` on type `((_, _, _, _), _, _, _)`
--> $DIR/long-E0609.rs:9:7
|
LL | x.field;
Expand Down
Loading
Loading