]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/fn-to-method-deeply-nested.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / fn-to-method-deeply-nested.rs
1 fn main() -> Result<(), ()> {
2     a(b(c(d(e(
3         //~^ ERROR cannot find function `a` in this scope
4         //~| ERROR cannot find function `b` in this scope
5         //~| ERROR cannot find function `c` in this scope
6         //~| ERROR cannot find function `d` in this scope
7         //~| ERROR cannot find function `e` in this scope
8         z????????????????????????????????????????????????????????????????????????????????????????
9         ?????????????????????????????????????????????????????????????????????????????????????????
10         ??????????????????????????????????????????????????????????????????
11         //~^^^ ERROR cannot find value `z` in this scope
12     )))))
13 }