☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
path_as_generic_arg.rs
☽
☼
gcc/testsuite/rust/compile/path_as_generic_arg.rs
code
plain
raw
1
#[lang = "sized"]
2
pub trait Sized {}
3
4
pub enum Result<T, E> {
5
Ok(T),
6
Err(E),
7
}
8
9
pub mod module {
10
pub struct E;
11
}
12
13
pub fn foo() -> Result<(), module::E> {
14
Result::Err(module::E)
15
}