]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/continue-after-missing-main.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / continue-after-missing-main.stderr
index d764e7d860af678b4432349223b0ac3f802804d2..29e7dc1e56c732b2da0180afb3b6afc862d01150 100644 (file)
@@ -1,17 +1,11 @@
 error[E0601]: `main` function not found in crate `continue_after_missing_main`
-  --> $DIR/continue-after-missing-main.rs:1:1
+  --> $DIR/continue-after-missing-main.rs:30:2
    |
-LL | / #![allow(dead_code)]
-LL | |
-LL | | // error-pattern:`main` function not found in crate
-LL | |
-...  |
-LL | |
-LL | | }
-   | |_^ consider adding a `main` function to `$DIR/continue-after-missing-main.rs`
+LL | }
+   |  ^ consider adding a `main` function to `$DIR/continue-after-missing-main.rs`
 
 error[E0623]: lifetime mismatch
-  --> $DIR/continue-after-missing-main.rs:30:56
+  --> $DIR/continue-after-missing-main.rs:28:56
    |
 LL |     tableau: Tableau<'data_provider, AdaptedMatrixProvider<'original_data, MP>>,
    |              ------------------------------------------------------------------ these two types are declared with different lifetimes...
@@ -21,4 +15,5 @@ LL |     let _: AdaptedMatrixProvider<'original_data, MP> = tableau.provider().c
 
 error: aborting due to 2 previous errors
 
-For more information about this error, try `rustc --explain E0601`.
+Some errors have detailed explanations: E0601, E0623.
+For more information about an error, try `rustc --explain E0601`.