mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 03:14:11 +00:00

Issue tests numbered 1920, 3668, 5997, 23302, 32122, 40510, 57741, 71676, and 76077 were moved to relevant better-named subdirectories. ISSUES_ENTRY_LIMIT was adjusted to match new number of files and FIXME note was expanded.
11 lines
161 B
Rust
11 lines
161 B
Rust
fn f<T>() -> bool {
|
|
struct S(T); //~ ERROR can't use generic parameters from outer item
|
|
|
|
true
|
|
}
|
|
|
|
fn main() {
|
|
let b = f::<isize>();
|
|
assert!(b);
|
|
}
|