Commit c9cf499
committed
Address following error from rustdoc tests:
error[E0106]: missing lifetime specifier
--> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:11424:23
|
9 | fn demo(s: &mut S) -> &mut String { let p = &mut *(*s).data; p }
| ^ expected lifetime parameter
|
= help: this function's return type contains a borrowed value, but the signature does not say which one of `s`'s 2 lifetimes it is borrowed from1 parent e3b611f commit c9cf499
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2194 | 2194 | | |
2195 | 2195 | | |
2196 | 2196 | | |
| 2197 | + | |
| 2198 | + | |
2197 | 2199 | | |
2198 | 2200 | | |
2199 | 2201 | | |
2200 | 2202 | | |
2201 | 2203 | | |
2202 | 2204 | | |
2203 | | - | |
| 2205 | + | |
2204 | 2206 | | |
2205 | 2207 | | |
2206 | 2208 | | |
| |||
2222 | 2224 | | |
2223 | 2225 | | |
2224 | 2226 | | |
| 2227 | + | |
| 2228 | + | |
2225 | 2229 | | |
2226 | 2230 | | |
2227 | 2231 | | |
2228 | 2232 | | |
2229 | 2233 | | |
2230 | 2234 | | |
2231 | | - | |
| 2235 | + | |
2232 | 2236 | | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
2233 | 2245 | | |
2234 | 2246 | | |
2235 | 2247 | | |
| |||
0 commit comments