Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
This commit is contained in:
parent
4fd68eb47b
commit
41e8d152dc
5025 changed files with 5026 additions and 5026 deletions
|
@ -6,6 +6,6 @@ LL | impl dyn C { fn f() {} }
|
|||
LL | impl dyn C { fn f() {} }
|
||||
| ------ other definition for `f`
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0592`.
|
||||
|
|
|
@ -4,6 +4,6 @@ error[E0321]: cross-crate traits with a default impl, like `Send`, can only be i
|
|||
LL | unsafe impl Send for &'static Foo { }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0321`.
|
||||
|
|
|
@ -9,6 +9,6 @@ help: consider changing this to be mutable
|
|||
LL | let mut x = "foo";
|
||||
| +++
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0596`.
|
||||
|
|
|
@ -9,6 +9,6 @@ LL | z.use_mut();
|
|||
LL | y.use_mut();
|
||||
| - first borrow later used here
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0499`.
|
||||
|
|
|
@ -6,6 +6,6 @@ LL | assert!("foo");
|
|||
|
|
||||
= note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0600`.
|
||||
|
|
|
@ -18,6 +18,6 @@ help: ...and then using that local as the argument to this call
|
|||
LL | v.push(v.pop().unwrap());
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0499`.
|
||||
|
|
|
@ -6,6 +6,6 @@ LL | """;
|
|||
LL | | }
|
||||
| |__^
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0765`.
|
||||
|
|
|
@ -17,6 +17,6 @@ help: you can `clone` the value and consume it, but this might not be your desir
|
|||
LL | some_vec.clone().into_iter();
|
||||
| ++++++++
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0382`.
|
||||
|
|
|
@ -10,6 +10,6 @@ help: you might have meant to use `#![feature(trait_alias)]` instead of a `type`
|
|||
LL | trait Bar = dyn Foo;
|
||||
|
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0404`.
|
||||
|
|
|
@ -6,6 +6,6 @@ LL | extern "路濫狼á́́" fn foo() {}
|
|||
|
|
||||
= note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions.
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0703`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue