Just tidying up
This commit is contained in:
parent
f76049cd6a
commit
caab47d3e9
1 changed files with 8 additions and 3 deletions
|
@ -22,12 +22,17 @@ mod a {
|
|||
|
||||
mod b {
|
||||
#[test]
|
||||
fn foo() {}
|
||||
fn foo() {
|
||||
local_name(); // ensure the local name still works
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn local_name() {}
|
||||
}
|
||||
|
||||
use a::*;
|
||||
use b::*;
|
||||
|
||||
fn conflict() {
|
||||
pub fn conflict() {
|
||||
let _: bool = foo();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue