about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-04-16 10:14:27 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-04-16 17:39:52 +0000
commit8fc1d68413b98cd50e6e55b6e33145ccd584b6a1 (patch)
tree9b3a8a9c3f0a0134f9b2de663bfcb9548e63a6b4 /tests
parent8889c6fa0ea8b2045205bc1a4550260c34be98c6 (diff)
downloadrust-8fc1d68413b98cd50e6e55b6e33145ccd584b6a1.tar.gz
rust-8fc1d68413b98cd50e6e55b6e33145ccd584b6a1.zip
Account for variance in outlives verification.
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/impl-trait/issue-108592.stderr21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/ui/impl-trait/issue-108592.stderr b/tests/ui/impl-trait/issue-108592.stderr
deleted file mode 100644
index 3fbf0b266c3..00000000000
--- a/tests/ui/impl-trait/issue-108592.stderr
+++ /dev/null
@@ -1,21 +0,0 @@
-error[E0428]: the name `test` is defined multiple times
-  --> $DIR/issue-108592.rs:17:1
-   |
-LL | fn test() {
-   | --------- previous definition of the value `test` here
-...
-LL | fn test(_: &Opaque<'_>) {
-   | ^^^^^^^^^^^^^^^^^^^^^^^ `test` redefined here
-   |
-   = note: `test` must be defined only once in the value namespace of this module
-
-error[E0601]: `main` function not found in crate `issue_108592`
-  --> $DIR/issue-108592.rs:20:2
-   |
-LL | }
-   |  ^ consider adding a `main` function to `$DIR/issue-108592.rs`
-
-error: aborting due to 2 previous errors
-
-Some errors have detailed explanations: E0428, E0601.
-For more information about an error, try `rustc --explain E0428`.