Closed
Description
#[deny(warnings)]
pub fn foo() {
type _V = Vec::<u32>;
}
Although there is a deny(warnings)
attribute, this code compiles with a warning only.
Compiling warn v0.1.0 (/tmp/warn)
warning: unnecessary path disambiguator
--> src/lib.rs:3:18
|
3 | type _V = Vec::<u32>;
| ^^ try removing `::`
Finished dev [unoptimized + debuginfo] target(s) in 0.23s
This behavior is present in all versions I tested including the latest nightly 2019-01-31 and 1.21.0 when relaxed path syntax was introduced.