summaryrefslogtreecommitdiffstats
path: root/tests/ui/type/issue-91268.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/type/issue-91268.stderr')
-rw-r--r--tests/ui/type/issue-91268.stderr55
1 files changed, 2 insertions, 53 deletions
diff --git a/tests/ui/type/issue-91268.stderr b/tests/ui/type/issue-91268.stderr
index 6c9ee9945..a3619d863 100644
--- a/tests/ui/type/issue-91268.stderr
+++ b/tests/ui/type/issue-91268.stderr
@@ -1,5 +1,5 @@
error: this file contains an unclosed delimiter
- --> $DIR/issue-91268.rs:9:12
+ --> $DIR/issue-91268.rs:5:12
|
LL | fn main() {
| - unclosed delimiter
@@ -8,56 +8,5 @@ LL | 0: u8(ţ
| |
| unclosed delimiter
-error: this file contains an unclosed delimiter
- --> $DIR/issue-91268.rs:9:12
- |
-LL | fn main() {
- | - unclosed delimiter
-LL | 0: u8(ţ
- | - ^
- | |
- | unclosed delimiter
-
-error[E0412]: cannot find type `ţ` in this scope
- --> $DIR/issue-91268.rs:9:11
- |
-LL | 0: u8(ţ
- | ^ expecting a type here because of type ascription
-
-error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
- --> $DIR/issue-91268.rs:9:8
- |
-LL | 0: u8(ţ
- | ^^^^ only `Fn` traits may use parentheses
- |
-help: use angle brackets instead
- |
-LL | 0: u8<ţ>
- | ~ +
-
-error[E0109]: type arguments are not allowed on builtin type `u8`
- --> $DIR/issue-91268.rs:9:11
- |
-LL | 0: u8(ţ
- | -- ^ type argument not allowed
- | |
- | not allowed on builtin type `u8`
- |
-help: primitive type `u8` doesn't have generic parameters
- |
-LL - 0: u8(ţ
-LL + 0: u8
- |
-
-error[E0308]: mismatched types
- --> $DIR/issue-91268.rs:9:5
- |
-LL | fn main() {
- | - expected `()` because of default return type
-LL | 0: u8(ţ
- | ^^^^^^^ expected `()`, found `u8`
-
-error: aborting due to 6 previous errors
+error: aborting due to previous error
-Some errors have detailed explanations: E0109, E0214, E0308, E0412.
-For more information about an error, try `rustc --explain E0109`.