1
Fork 0

propagate-approximated-ref: include FIXME comment

This commit is contained in:
Niko Matsakis 2017-12-06 16:26:43 -05:00
parent 2a17b9390b
commit b8e9eaf3ae

View file

@ -22,7 +22,7 @@
// Note: the use of `Cell` here is to introduce invariance. One less
// variable.
//
// FIXME: The `supply` function *ought* to generate an error, but it
// FIXME(#45827): The `supply` function *ought* to generate an error, but it
// currently does not. This is I believe a shortcoming of the MIR type
// checker: the closure inference is expressing the correct
// requirement, as you can see from the `#[rustc_regions]` output.