subscript s(_ x: Int): Int {
let {x}
}
subscript s(_ x: inout Int): Int {
let {x}
}
fun use<T>(_ x: T) {}
public fun main() {
use(s[3])
}
Pointers.val:12.3-6: error: not enough contextual information to infer generic arguments
use(s[3])
~~~
Pointers.val:12.7-8: error: incompatible types 'subscript [_] (Int) let : _' and 'subscript [{}] (let Int): Int { let }'
use(s[3])
^