Skip to content

Commit 9b80d85

Browse files
committed
Manual find replace updates
1 parent 377da2f commit 9b80d85

File tree

59 files changed

+59
-59
lines changed

Some content is hidden

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

59 files changed

+59
-59
lines changed

src/tools/clippy/tests/ui-internal/default_deprecation_reason.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ LL | #![deny(clippy::internal)]
1818
= note: `#[deny(clippy::default_deprecation_reason)]` implied by `#[deny(clippy::internal)]`
1919
= note: this error originates in the macro `declare_deprecated_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
2020

21-
error: aborting due to previous error
21+
error: aborting due to 1 previous error
2222

src/tools/clippy/tests/ui-internal/default_lint.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ LL | #![deny(clippy::internal)]
1717
= note: `#[deny(clippy::default_lint)]` implied by `#[deny(clippy::internal)]`
1818
= note: this error originates in the macro `$crate::declare_tool_lint` which comes from the expansion of the macro `declare_tool_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
1919

20-
error: aborting due to previous error
20+
error: aborting due to 1 previous error
2121

src/tools/clippy/tests/ui-internal/lint_without_lint_pass.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ LL | #![deny(clippy::internal)]
1717
= note: `#[deny(clippy::lint_without_lint_pass)]` implied by `#[deny(clippy::internal)]`
1818
= note: this error originates in the macro `declare_tool_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
1919

20-
error: aborting due to previous error
20+
error: aborting due to 1 previous error
2121

src/tools/clippy/tests/ui-internal/outer_expn_data.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | #![deny(clippy::internal)]
1111
| ^^^^^^^^^^^^^^^^
1212
= note: `#[deny(clippy::outer_expn_expn_data)]` implied by `#[deny(clippy::internal)]`
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

src/tools/miri/tests/fail/concurrency/read_only_atomic_load_large.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ see <https://doc.rust-lang.org/nightly/std/sync/atomic/index.html#atomic-accesse
1515

1616
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1717

18-
error: aborting due to previous error
18+
error: aborting due to 1 previous error
1919

src/tools/miri/tests/fail/concurrency/windows_join_detached.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ LL | thread.join().unwrap();
1818

1919
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
2020

21-
error: aborting due to previous error
21+
error: aborting due to 1 previous error
2222

src/tools/miri/tests/fail/concurrency/windows_join_main.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ LL | assert_eq!(WaitForSingleObject(MAIN_THREAD, INFINITE), 0);
99

1010
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

src/tools/miri/tests/fail/concurrency/windows_join_self.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | assert_eq!(WaitForSingleObject(native, INFINITE), 0);
88

99
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail/memleak_rc.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a
2020

2121
note: the evaluated program leaked memory, pass `-Zmiri-ignore-leaks` to disable this check
2222

23-
error: aborting due to previous error
23+
error: aborting due to 1 previous error
2424

src/tools/miri/tests/fail/stacked_borrows/retag_data_race_read.stack.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ LL | let t2 = std::thread::spawn(move || thread_2(p));
2121

2222
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
2323

24-
error: aborting due to previous error
24+
error: aborting due to 1 previous error
2525

src/tools/miri/tests/fail/stacked_borrows/retag_data_race_read.tree.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ LL | pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
2222
= note: inside `std::rt::lang_start_internal` at RUSTLIB/std/src/rt.rs:LL:CC
2323
= note: inside `std::rt::lang_start::<()>` at RUSTLIB/std/src/rt.rs:LL:CC
2424

25-
error: aborting due to previous error
25+
error: aborting due to 1 previous error
2626

src/tools/miri/tests/fail/tree_borrows/write_to_shr.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ LL | let xref = unsafe { &*(x as *mut u64) };
2222

2323
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
2424

25-
error: aborting due to previous error
25+
error: aborting due to 1 previous error
2626

tests/rustdoc-ui/doctest/failed-doctest-output-windows.stdout

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ error[E0425]: cannot find value `no` in this scope
1212
LL | no
1313
| ^^ not found in this scope
1414

15-
error: aborting due to previous error
15+
error: aborting due to 1 previous error
1616

1717
For more information about this error, try `rustc --explain E0425`.
1818
Couldn't compile the test.

tests/rustdoc-ui/issues/issue-79494.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ LL | const ZST: &[u8] = unsafe { std::mem::transmute(1usize) };
77
= note: source type: `usize` (64 bits)
88
= note: target type: `&[u8]` (128 bits)
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

1212
For more information about this error, try `rustc --explain E0512`.

tests/ui/associated-type-bounds/return-type-notation/basic.current_without.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ note: required by a bound in `is_send`
2525
LL | fn is_send(_: impl Send) {}
2626
| ^^^^ required by this bound in `is_send`
2727

28-
error: aborting due to previous error; 1 warning emitted
28+
error: aborting due to 1 previous error; 1 warning emitted
2929

tests/ui/associated-type-bounds/return-type-notation/basic.next_without.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ note: required by a bound in `is_send`
2525
LL | fn is_send(_: impl Send) {}
2626
| ^^^^ required by this bound in `is_send`
2727

28-
error: aborting due to previous error; 1 warning emitted
28+
error: aborting due to 1 previous error; 1 warning emitted
2929

tests/ui/associated-type-bounds/return-type-notation/equality.current.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ error: return type notation is not allowed to use type equality
1313
LL | fn test<T: Trait<method() = Box<dyn Future<Output = ()>>>>() {}
1414
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515

16-
error: aborting due to previous error; 1 warning emitted
16+
error: aborting due to 1 previous error; 1 warning emitted
1717

tests/ui/associated-type-bounds/return-type-notation/equality.next.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ error: return type notation is not allowed to use type equality
1313
LL | fn test<T: Trait<method() = Box<dyn Future<Output = ()>>>>() {}
1414
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515

16-
error: aborting due to previous error; 1 warning emitted
16+
error: aborting due to 1 previous error; 1 warning emitted
1717

tests/ui/atomic-from-mut-not-available.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ note: if you're trying to build a new `AtomicU64`, consider using `AtomicU64::ne
88
--> $SRC_DIR/core/src/sync/atomic.rs:LL:COL
99
= note: this error originates in the macro `atomic_int` (in Nightly builds, run with -Z macro-backtrace for more info)
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

1313
For more information about this error, try `rustc --explain E0599`.

tests/ui/consts/const-err4.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ error[E0080]: evaluation of constant value failed
44
LL | Boo = [unsafe { Foo { b: () }.a }; 4][3],
55
| ^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

99
For more information about this error, try `rustc --explain E0080`.

tests/ui/consts/const-eval/heap/alloc_intrinsic_uninit.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ LL | const BAR: &i32 = unsafe { &*(intrinsics::const_allocate(4, 4) as *mut i32)
99
╾ALLOC0╼ │ ╾──╼
1010
}
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

1414
For more information about this error, try `rustc --explain E0080`.

tests/ui/consts/const-eval/transmute-const.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ LL | static FOO: bool = unsafe { mem::transmute(3u8) };
99
03 │ .
1010
}
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

1414
For more information about this error, try `rustc --explain E0080`.

tests/ui/consts/const-eval/ub-nonnull.chalk.64bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ error[E0284]: type annotations needed: cannot satisfy `<usize as SliceIndex<[u8]
44
LL | let out_of_bounds_ptr = &ptr[255];
55
| ^^^^^^^^ cannot satisfy `<usize as SliceIndex<[u8]>>::Output == _`
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

99
For more information about this error, try `rustc --explain E0284`.

tests/ui/consts/const-eval/ub-upvars.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ LL | const BAD_UPVAR: &dyn FnOnce() = &{
99
╾ALLOC0╼ ╾ALLOC1╼ │ ╾──╼╾──╼
1010
}
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

1414
For more information about this error, try `rustc --explain E0080`.

tests/ui/consts/const-eval/ub-wide-ptr.chalk.64bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ error[E0282]: type annotations needed
44
LL | const MYSLICE_SUFFIX_BAD: &MySliceBool = &MySlice(true, [unsafe { mem::transmute(3u8) }]);
55
| ^^^^^^^^^^^^^^ cannot infer type for type parameter `U` declared on the function `transmute`
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

99
For more information about this error, try `rustc --explain E0282`.

tests/ui/consts/const-points-to-static.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ help: skipping check that does not even have a feature gate
1717
LL | const TEST: &u8 = &MY_STATIC;
1818
| ^^^^^^^^^
1919

20-
error: aborting due to previous error; 1 warning emitted
20+
error: aborting due to 1 previous error; 1 warning emitted
2121

2222
For more information about this error, try `rustc --explain E0080`.

tests/ui/consts/invalid-union.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ LL | let _: &'static _ = &C;
2323
|
2424
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2525

26-
error: aborting due to previous error
26+
error: aborting due to 1 previous error
2727

2828
For more information about this error, try `rustc --explain E0080`.

tests/ui/consts/issue-63952.32bit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ LL | const SLICE_WAY_TOO_LONG: &[u8] = unsafe {
99
╾ALLOC0╼ ff ff ff ff │ ╾──╼....
1010
}
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

1414
For more information about this error, try `rustc --explain E0080`.

tests/ui/coroutine/coroutine-region-requirements.migrate.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ LL | fn dangle(x: &mut i32) -> &'static mut i32 {
77
LL | GeneratorState::Complete(c) => return c,
88
| ^ lifetime `'static` required
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

1212
For more information about this error, try `rustc --explain E0621`.

tests/ui/generic-associated-types/issue-91139.migrate.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: expected identifier, found `<<`
44
LL | <<<<<<< HEAD
55
| ^^ expected identifier
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/ui/higher-ranked/trait-bounds/hrtb-perfect-forwarding.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ LL | | }
6767
|
6868
= help: a `loop` may express intention better if this is on purpose
6969

70-
error: aborting due to previous error; 4 warnings emitted
70+
error: aborting due to 1 previous error; 4 warnings emitted
7171

tests/ui/impl-trait/coherence-treats-tait-ambig.current.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ LL | impl Into<T> for Foo {
88
- impl<T, U> Into<U> for T
99
where U: From<T>;
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

1313
For more information about this error, try `rustc --explain E0119`.

tests/ui/impl-trait/multiple-lifetimes/error-handling.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | let _: &'b i32 = *u.0;
1111
|
1212
= help: consider adding the following bound: `'a: 'b`
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/ui/infinite/infinite-instantiation.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | fn function<T:ToOpt + Clone>(counter: usize, t: T) {
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
= note: the full type name has been written to '$TEST_BUILD_DIR/infinite/infinite-instantiation.polonius/infinite-instantiation.long-type.txt'
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/ui/issues/issue-22638.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | pub fn matches<F: Fn()>(&self, f: &F) {
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-22638.polonius/issue-22638.long-type.txt'
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/ui/issues/issue-37311-type-length-limit/issue-37311.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | fn recurse(&self) {
1111
| ^^^^^^^^^^^^^^^^^
1212
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-37311-type-length-limit/issue-37311.polonius/issue-37311.long-type.txt'
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/ui/issues/issue-40510-1.migrate.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ LL | &mut x
99
= note: `FnMut` closures only have access to their captured variables while they are executing...
1010
= note: ...therefore, they cannot allow references to captured variables to escape
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

tests/ui/issues/issue-40510-3.migrate.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | | }
1111
= note: `FnMut` closures only have access to their captured variables while they are executing...
1212
= note: ...therefore, they cannot allow references to captured variables to escape
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/ui/issues/issue-59756.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ help: try using a variant of the expected enum
1515
LL | Ok(foo()?)
1616
|
1717

18-
error: aborting due to previous error
18+
error: aborting due to 1 previous error
1919

2020
For more information about this error, try `rustc --explain E0308`.

tests/ui/issues/issue-67552.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ LL | | T: Iterator,
1313
| |________________^
1414
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-67552.polonius/issue-67552.long-type.txt'
1515

16-
error: aborting due to previous error
16+
error: aborting due to 1 previous error
1717

tests/ui/issues/issue-8727.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ LL | fn generic<T>() {
2222
| ^^^^^^^^^^^^^^^
2323
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-8727.polonius/issue-8727.long-type.txt'
2424

25-
error: aborting due to previous error; 1 warning emitted
25+
error: aborting due to 1 previous error; 1 warning emitted
2626

tests/ui/limits/huge-array-simple-32.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: values of the type `[u8; 2147516416]` are too big for the current archite
44
LL | let _fat: [u8; (1<<31)+(1<<15)] =
55
| ^^^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/ui/limits/issue-15919-32.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: values of the type `[usize; usize::MAX]` are too big for the current arch
44
LL | let x = [0usize; 0xffff_ffff];
55
| ^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/ui/lub-glb/old-lub-glb-hr-noteq1.baseleak.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ LL | | };
1616
= note: expected fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
1717
found fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
1818

19-
error: aborting due to previous error
19+
error: aborting due to 1 previous error
2020

2121
For more information about this error, try `rustc --explain E0308`.

tests/ui/lub-glb/old-lub-glb-hr-noteq1.basenoleak.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ LL | _ => y,
77
= note: expected fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
88
found fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

1212
For more information about this error, try `rustc --explain E0308`.

tests/ui/nll/get_default.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ LL |
1313
LL | return v;
1414
| - returning this value requires that `*map` is borrowed for `'1`
1515

16-
error: aborting due to previous error
16+
error: aborting due to 1 previous error
1717

1818
For more information about this error, try `rustc --explain E0502`.

tests/ui/recursion/issue-38591-non-regular-dropck-recursion.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
= note: the full type name has been written to '$TEST_BUILD_DIR/recursion/issue-38591-non-regular-dropck-recursion.polonius/issue-38591-non-regular-dropck-recursion.long-type.txt'
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/ui/recursion/recursion.polonius.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | fn test<T:Dot> (n:isize, i:isize, first:T, second:T) ->isize {
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
= note: the full type name has been written to '$TEST_BUILD_DIR/recursion/recursion.polonius/recursion.long-type.txt'
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/ui/rfcs/rfc-1937-termination-trait/issue-103052-2.current.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ note: required by a bound in `Main::main::{opaque#0}`
1010
LL | fn main() -> impl std::process::Termination;
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Main::main::{opaque#0}`
1212

13-
error: aborting due to previous error
13+
error: aborting due to 1 previous error
1414

1515
For more information about this error, try `rustc --explain E0277`.

tests/ui/rfcs/rfc-1937-termination-trait/issue-103052-2.next.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ note: required by a bound in `Main::{opaque#0}`
1010
LL | fn main() -> impl std::process::Termination;
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Main::{opaque#0}`
1212

13-
error: aborting due to previous error
13+
error: aborting due to 1 previous error
1414

1515
For more information about this error, try `rustc --explain E0277`.

tests/ui/rfcs/rfc-2627-raw-dylib/dlltool-failed.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ error: Dlltool could not create import library with $DLLTOOL -d $DEF_FILE -D foo
22

33
$DLLTOOL: Syntax error in def file $DEF_FILE:1
44

5-
error: aborting due to previous error
5+
error: aborting due to 1 previous error
66

tests/ui/rfcs/rfc-2627-raw-dylib/import-name-type-invalid-format.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: import name type must be of the form `import_name_type = "string"`
44
LL | #[link(name = "foo", kind = "raw-dylib", import_name_type = 6)]
55
| ^^^^^^^^^^^^^^^^^^^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/ui/rfcs/rfc-2627-raw-dylib/import-name-type-multiple.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: multiple `import_name_type` arguments in a single `#[link]` attribute
44
LL | #[link(name = "foo", kind = "raw-dylib", import_name_type = "decorated", import_name_type = "decorated")]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/ui/rfcs/rfc-2627-raw-dylib/import-name-type-unknown-value.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: unknown import name type `unknown`, expected one of: decorated, noprefix,
44
LL | #[link(name = "foo", kind = "raw-dylib", import_name_type = "unknown")]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

0 commit comments

Comments
 (0)