summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/werror.stderr
blob: ce6dba6347bfce5dd1fb125f4c28cc853d810bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

werror.hs:6:1: Warning:
    Top-level binding with no type signature: main :: IO ()

werror.hs:7:13: Warning:
    This binding for ‘main’ shadows the existing binding
      defined at werror.hs:6:1

werror.hs:7:13: Warning: Defined but not used: ‘main’

werror.hs:8:1: Warning:
    Tab character found here.
    Please use spaces instead.

werror.hs:10:1: Warning: Defined but not used: ‘f’

werror.hs:10:1: Warning:
    Top-level binding with no type signature:
      f :: forall r r1. [r] -> [r1]

werror.hs:10:1: Warning:
    Pattern match(es) are redundant
    In an equation for ‘f’: f [] = ...

werror.hs:10:1: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for ‘f’: Patterns not matched: (_:_)

<no location info>: 
Failing due to -Werror.