]> git.proxmox.com Git - rustc.git/blame - vendor/codespan-reporting/tests/snapshots/term__multifile__rich_ascii_no_color.snap
New upstream version 1.71.1+dfsg1
[rustc.git] / vendor / codespan-reporting / tests / snapshots / term__multifile__rich_ascii_no_color.snap
CommitLineData
49aad941
FG
1---
2source: codespan-reporting/tests/term.rs
3expression: TEST_DATA.emit_no_color(&config)
4---
5error: unknown builtin: `NATRAL`
6 --> Data/Nat.fun:7:13
7 |
87 | {-# BUILTIN NATRAL Nat #-}
9 | ^^^^^^ unknown builtin
10 |
11 = there is a builtin with a similar name: `NATURAL`
12
13warning: unused parameter pattern: `n₂`
14 --> Data/Nat.fun:17:16
15 |
1617 | zero - succ n₂ = zero
17 | ^^ unused parameter
18 |
19 = consider using a wildcard pattern: `_`
20
21error[E0001]: unexpected type in application of `_+_`
22 --> Test.fun:4:11
23 |
24 4 | _ = 123 + "hello"
25 | ^^^^^^^ expected `Nat`, found `String`
26 |
27 --> Data/Nat.fun:11:1
28 |
2911 | _+_ : Nat → Nat → Nat
30 | --------------------- based on the definition of `_+_`
31 |
32 = expected type `Nat`
33 found type `String`
34
35