summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_recover_warns.stderr
blob: 848f1b1380227cdcbff4e7522c72751586ce75bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TH_recover_warns.hs:(9,18)-(10,64): Splicing expression
    recover
      (stringE "splice failed") [| let x = "a" in let x = "b" in x |]
  ======>
    let x = "a" in let x = "b" in x

TH_recover_warns.hs:9:18: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
    Defined but not used: ‘x’

TH_recover_warns.hs:10:34: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
    Defined but not used: ‘x’

TH_recover_warns.hs:10:49: warning: [GHC-63397] [-Wname-shadowing (in -Wall)]
    This binding for ‘x’ shadows the existing binding
      bound at TH_recover_warns.hs:10:34