Debian Codegraph @

gcc/testsuite/rust/compile/use_1.rs

raw
1 mod frob {}
2
3 use foo::bar::baz; // { dg-error "cannot find simple path segment .foo." }
4 use frob::ulator; // { dg-error "cannot find simple path segment .ulator." }
5
6 mod sain {
7 mod doux {}
8
9 mod dron {}
10 }
11
12 use not_sain::*; // { dg-error "cannot find simple path segment .not_sain." }
13
14 use sain::*;
15 use sain::{doux, dron};
16 use sain::{doux, dron, graal}; // { dg-error "cannot find simple path segment .graal." }